from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
| You are here: manpages
strnul
Section: C Library Functions (3) Updated: 202-0-25 Index
Return to Main Contents
NAME
strnul - string search NUL
LIBRARY
gnulib - The GNU Portability Library
SYNOPSIS
#include <string.h>
char~*strnul(char~*s);
const~char~*strnul(const~char~*s);
DESCRIPTION
strnul()
calculates the position of the terminating null byte ([aq][rs]0[aq])
in the string pointed to by
s.
It is equivalent to both of the following expressions:
s + strlen(s)
strchr(s, [aq][rs]0[aq])
RETURN VALUE
strnul()
returns a pointer to the terminating null byte
in the string pointed to by
s.
ATTRIBUTES
For an explanation of the terms used in this section, see
attributes(7).
| Interface | Attribute | Value
|
|
strnul()
| Thread safety | M-Safe
|
STANDARDS
GNU.
HISTORY
gnulib 202607.
SEE ALSO
strlen(3),
strchr(3),
string(3)
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- ATTRIBUTES
-
- STANDARDS
-
- HISTORY
-
- SEE ALSO
-
|