STRING
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
BSD 4
NAME
strcat
strncat
strchr
strrchr
strcmp
strncmp
strcasecmp,
strncasecmp
strcpy
strncpy
strerror
strlen
strpbrk
strsep,
strspn
strcspn
strstr
strtok
index
rindex
- string specific functions
SYNOPSIS
Fd #include <string.h>
Ft char *
Fn strcat char *s const char * append
Ft char *
Fn strncat char *s const char *append size_t count
Ft char *
Fn strchr const char *s int c
Ft char *
Fn strrchr const char *s int c
Ft int
Fn strcmp const char *s1 const char *s2
Ft int
Fn strncmp const char *s1 const char *s2 size_t count
Ft int
Fn strcasecmp const char *s1 const char *s2
Ft int
Fn strncasecmp const char *s1 const char *s2 size_t count
Ft char *
Fn strcpy char *dst const char *src
Ft char *
Fn strncpy char *dst const char *src size_t count
Ft char *
Fn strerror int errno
Ft size_t
Fn strlen const char *s
Ft char *
Fn strpbrk const char *s const char *charset
Ft char *
Fn strsep char **stringp const char *delim
Ft size_t
Fn strspn const char *s const char *charset
Ft size_t
Fn strcspn const char *s const char *charset
Ft char *
Fn strstr const char *big const char *little
Ft char *
Fn strtok char *s const char *delim
Ft char *
Fn index const char *s int c
Ft char *
Fn rindex const char *s int c
DESCRIPTION
The string functions
functions manipulate strings terminated by a
null byte.
See the specific manual pages for more information.
For manipulating variable length generic objects as byte
strings (without the null byte check), see
bstring(3).
Except as noted in their specific manual pages,
the string functions do not test the destination
for size limitations.
SEE ALSO
index(3),
strcat(3),
strchr(3),
strrchr(3),
strcmp(3),
strcasecmp(3),
strcpy(3),
strerror(3),
strlen(3),
strpbrk(3),
strsep(3),
strspn(3),
strcspn(3),
strstr(3),
strtok(3),
rindex(3)
bstring(3)
STANDARDS
The
Fn strcat ,
Fn strncat ,
Fn strchr ,
Fn strrchr ,
Fn strcmp ,
Fn strncmp ,
Fn strcpy ,
Fn strncpy ,
Fn strerror ,
Fn strlen ,
Fn strpbrk ,
Fn strsep ,
Fn strspn ,
Fn strcspn ,
Fn strstr ,
and
Fn strtok
functions
conform to
St -ansiC .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- STANDARDS
-
This document was created by
man2html,
using the manual pages.
Time: 15:52:52 GMT, January 15, 2023