home *** CD-ROM | disk | FTP | other *** search
- @node strncpy, string
- @subheading Syntax
-
- @example
- #include <string.h>
-
- char *strncpy(char *s1, const char *s2, size_t max);
- @end example
-
- @subheading Description
-
- This function copies up to @var{max} characters of @var{s2} into @var{s1}.
-
- @subheading Return Value
-
- @var{s1}
-
- @subheading Example
-
- @example
- char buf[100];
- strcpy(buf, arg, 99);
- @end example
-
-