SYNOPSIS
#include <string.h>
char *strncpy(char *s1, const char *s2, size_t n);
DESCRIPTION
The
The function
PARAMETERS
- s1
-
Points to a destination buffer.
- s2
-
Points to the source string to be copied into s1.
- n
-
Is the maximum number of characters to copy from s2 to s1.
RETURN VALUES
The
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.5 Documentation Build 40.