diff options
| author | Jeremy Fitzhardinge <[email protected]> | 2007-07-18 01:37:02 +0000 |
|---|---|---|
| committer | Jeremy Fitzhardinge <[email protected]> | 2007-07-18 15:47:39 +0000 |
| commit | 1e66df3ee301209f4a38df097d7cc5cb9b367a3f (patch) | |
| tree | 55beb2a342dbe08c0404f749e02808e3f09023ac /lib/argv_split.c | |
| parent | zs: move to the serial subsystem (diff) | |
| download | kernel-1e66df3ee301209f4a38df097d7cc5cb9b367a3f.tar.gz kernel-1e66df3ee301209f4a38df097d7cc5cb9b367a3f.zip | |
add kstrndup
Add a kstrndup function, modelled on strndup. Like strndup this
returns a string copied into its own allocated memory, but it copies
no more than the specified number of bytes from the source.
Remove private strndup() from irda code.
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: YOSHIFUJI Hideaki <[email protected]>
Cc: Akinobu Mita <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Panagiotis Issaris <[email protected]>
Cc: Rene Scharfe <[email protected]>
Diffstat (limited to 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions
