]> git.baikalelectronics.ru Git - kernel.git/commit
nls: add a nls_nullsize inline
authorJeff Layton <jlayton@redhat.com>
Thu, 30 Apr 2009 10:45:08 +0000 (06:45 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 30 Apr 2009 15:32:11 +0000 (15:32 +0000)
commit18a80b53520e166a79860019c0740bd96108cf3c
tree5030ecff53843afe1f362cdca3d0794cda17fac1
parent9f8c25e882486bb797248046c04385e5e43c3311
nls: add a nls_nullsize inline

It's possible for character sets to require a multi-byte null
string terminator. Add a helper function that determines the size
of the null terminator at runtime.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
include/linux/nls.h