summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-06-04 16:11:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 16:54:18 -0700
commit0046dd9fed0c9313cbb4fb860324476cd298dc9f (patch)
treeae450418fa5963507fb3aee838c0e0077313f53b /security/security.c
parenta8fe19ebfbfd90ec17c02284717238b02efb9580 (diff)
downloadop-kernel-dev-0046dd9fed0c9313cbb4fb860324476cd298dc9f.zip
op-kernel-dev-0046dd9fed0c9313cbb4fb860324476cd298dc9f.tar.gz
lib/string.c: use the name "C-string" in comments
For strncpy() and friends the source string may or may not have an actual NUL character at the end. The documentation is confusing in this because it specifically mentions that you are passing a "NUL-terminated" string. Wikipedia says that "C-string" is an alternative name we can use instead. http://en.wikipedia.org/wiki/Null-terminated_string Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud