AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Header:     string.h

Syntax:     
extern char *strncpy
(
char       *string_1,
const char *string_2,
size_t      n
);


Purpose:     This function copies the first n characters from string_2 into string_1, if the first n bytes does not encounter a null terminator the result in string_1 will also be unterminated.

[sh-index] Back to list of manuals