Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

string.h(3HEAD)

Name

string.h, string - string operations

Synopsis

#include <string.h>

Description

The <string.h> header defines the following:

NULL

as described in <stddef.h>

size_t

as described in <stddef.h>

locale_t

as described in <locale.h>

The <string.h> header also provides function prototypes for functions as listed in the following man pages:

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard
  • C89 through C11,
  • POSIX.1-1990 through 2008,
  • SUS through SUSv4,
  • XPG1 through XPG7

See Also

b64_encode(3C), ffs(3C), memory(3C), strcat(3C), strchr(3C), strcmp(3C), strcoll(3C), strdup(3C), strerror(3C), strerrordesc_np(3C), string(3C), strlen(3C), strsignal(3C), strtok(3C), strxfrm(3C), timingsafe_bcmp(3C), locale.h(3HEAD), stddef.h(3HEAD), strings.h(3HEAD), types.h(3HEAD), attributes(7), standards(7)

History

The <string.h> header has been included in all Sun and Oracle releases of Solaris.