string(3c) 맨 페이지 - 윈디하나의 솔라나라
|
|
개요
- 솔라나라에 설명된 어플리케이션에 대해 맨 페이지를 찾아 출력한다.
- MAN 페이지에 대한 설명은 윈디하나의 솔라나라: MAN 페이지을 참고하자.
svcadm(8)을 검색하려면 섹션
에서 8 을 선택하고, 맨 페이지 이름
에 svcadm을 입력하고 검색을 누른다.
string(3c)
string(3C) Standard C Library Functions string(3C)
NAME
string - string operations
SYNOPSIS
#include <string.h>
#include <strings.h>
DESCRIPTION
These functions perform various operations on strings (arrays of char‐
acters), which are given as arguments that point to strings. Depending
on the function, strings may be either terminated by a null character
or have a maximum length of n bytes. They are designed for use with en‐
codings representing each character as a single byte, and all character
counts are measured in individual bytes, even if a string with multi‐
byte characters is used. Except where noted in the individual function
descriptions, they do not check for null pointers, and programs may
crash if passing null or otherwise invalid pointers to these functions,
or specifying sizes larger than the memory allocation in use for the
string. Use of adi(7) may help in detecting buffer overflows or invalid
pointer usage in code.
For details of the string functions, see the following man pages:
strcat(3C) string copying and concatenation operations
strchr(3C) string search operations
strcmp(3C) string comparison
strcoll(3C) string collation
strdup(3C) string duplication
strerror(3C) get error message string
strerrordesc_np(3C) get error name and message strings
strlen(3C) string length operations
strsignal(3C) get string describing signal
strtok(3C) separate strings into tokens
strxfrm(3C) string transformation
For corresponding functions that operate on wide-character strings, see
wcstring(3C).
Multibyte strings may be handled by using mbstowcs(3C) or mbsrtowcs(3C)
to convert the string to a wide-character string first.
Functions specific to handling UTF-8 encoded multibyte strings are also
available. See the u8_strcmp(3C), u8_textprep_str(3C), and u8_vali‐
date(3C) man pages for these functions.
SEE ALSO
mbstowcs(3C), mbsrtowcs(3C), memory(3C), setlocale(3C), stpcpy(3C),
stpncpy(3C), strcasecmp(3C), strcasecmp_l(3C), strcasestr(3C), str‐
cat(3C), strcat_s(3C), strchr(3C), strchrnul(3C), strcmp(3C), str‐
coll(3C), strcoll_l(3C), strcpy(3C), strcpy_s(3C), strcspn(3C),
strdup(3C), strdupa(3C), strlcat(3C), strlcpy(3C), strlen(3C), strn‐
casecmp(3C), strncasecmp_l(3C), strncat(3C), strncat_s(3C),
strncmp(3C), strncpy(3C), strncpy_s(3C), strndup(3C), strndupa(3C),
strnlen(3C), strnlen_s(3C), strnstr(3C), strpbrk(3C), strrchr(3C),
strsep(3C), strspn(3C), strstr(3C), strtok(3C), strtok_r(3C), str‐
tok_s(3C), strxfrm(3C), strxfrm_l(3C), u8_strcmp(3C),
u8_textprep_str(3C), u8_validate(3C), wcstring(3C), strcadd(3GEN), str‐
ccpy(3GEN), streadd(3GEN), strecpy(3GEN), strfind(3GEN), strrspn(3GEN),
strtrns(3GEN)
Appendix E, Security Considerations When Using C Functions, in Devel‐
oper's Guide to Oracle Solaris 11.4 Security
Handling Characters and Character Strings in Internationalizing and Lo‐
calizing Applications in Oracle Solaris
NOTES
All of these functions, except as noted in their individual man pages,
assume the default "C" locale. For some locales, strxfrm(3C) should be
applied to the strings before they are passed to the functions.
Oracle Solaris 11.4 28 Feb 2022 string(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.