| www.delorie.com/djgpp/doc/libc-2.01/libc_616.html | search |
#include <string.h> char *strncpy(char *s1, const char *s2, size_t max);
This function copies up to max characters of s2 into s1.
s1
char buf[100]; strcpy(buf, arg, 99);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |