delorie.com/djgpp/doc/libc/libc_750.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <string.h> char *stpncpy(char *_dest, const char *_src, size_t _n); |
Copies exactly _n characters from _src to _dest.
If need be, _dest is padded with zeros to make _n characters.
Like strncpy
(see section strncpy), but return value different.
Returns a pointer to the character following the last nonzero written.
ANSI/ISO C | No |
POSIX | No |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |