id
stringlengths
4
63
text
stringlengths
153
8.81M
stream(1)
NAME stream - a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. SYNOPSIS magick stream [options] input-file output-file OVERVIEW Stream is a lightweight tool to stream one or more pixel components of the image or portion of the image to ...
streamzip(1)
NAME streamzip - create a zip file from stdin SYNOPSIS producer | streamzip [opts] | consumer producer | streamzip [opts] -zipfile=output.zip DESCRIPTION This program will read data from "stdin", compress it into a zip container and, by default, write a streamed zip file to "stdout". No temporary files are created. ...
strelaysrv(1)
NAME strelaysrv - Syncthing Relay Server SYNOPSIS strelaysrv [-debug] [-ext-address=<address>] [-global-rate=<bytes/s>] [-keys=<dir>] [-listen=<listen addr>] [-message-timeout=<duration>] [-nat] [-nat-lease=<duration>] [-nat-renewal=<duration>] [-nat-timeout=<duration>] [-network-timeout=<duration>] [-per-session-rate...
strends(9)
NAME strends - Check if a string ends with another string. SYNOPSIS bool strends (const char *str , const char *suffix ); ARGUMENTS str NULL-terminated string to check against suffix suffix NULL-terminated string defining the suffix to look for in str RETURN True if str ends with suffix. False i...
streq(3)
NAME streq - strings equal LIBRARY gnulib - The GNU Portability Library SYNOPSIS #include <string.h> bool streq(const char *s1, const char *s2); DESCRIPTION streq() determines whether the strings s1 and s2 are equal. RETURN VALUE streq() returns true if and only if the strings s1 and s2 are equal. ATTRIBUT...
strerror(3)
NAME strerror, strerrorname_np, strerrordesc_np, strerror_r, strerror_l - return string describing error number LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strerror(int errnum); const char *strerrorname_np(int errnum); const char *strerrordesc_np(int errnum); ...
strerror(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strerror, strerror_l, strerror_r — get error message string SY...
strerror_l(3)
NAME strerror, strerrorname_np, strerrordesc_np, strerror_r, strerror_l - return string describing error number LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strerror(int errnum); const char *strerrorname_np(int errnum); const char *strerrordesc_np(int errnum); ...
strerror_r(3)
NAME strerror, strerrorname_np, strerrordesc_np, strerror_r, strerror_l - return string describing error number LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strerror(int errnum); const char *strerrorname_np(int errnum); const char *strerrordesc_np(int errnum); ...
strerrordesc_np(3)
NAME strerror, strerrorname_np, strerrordesc_np, strerror_r, strerror_l - return string describing error number LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strerror(int errnum); const char *strerrorname_np(int errnum); const char *strerrordesc_np(int errnum); ...
strerrorname_np(3)
NAME strerror, strerrorname_np, strerrordesc_np, strerror_r, strerror_l - return string describing error number LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strerror(int errnum); const char *strerrorname_np(int errnum); const char *strerrordesc_np(int errnum); ...
strfilter__compare(9)
NAME strfilter__compare - compare given string and a string filter SYNOPSIS bool strfilter__compare (struct strfilter *filter , const char *str ); ARGUMENTS filter String filter str target string DESCRIPTION Compare str and filter. Return true if the str match the rule SEE ALSO Kernel file ./to...
strfilter__delete(9)
NAME strfilter__delete - delete a string filter SYNOPSIS void strfilter__delete (struct strfilter *filter ); ARGUMENTS filter String filter to delete DESCRIPTION Delete filter. SEE ALSO Kernel file ./tools/perf/util/strfilter.h strfilter__new(9), strfilter__or(9), strfilter__compare(9), strfilter__string(9) A...
strfilter__new(9)
NAME strfilter__new - Create a new string filter SYNOPSIS struct strfilter * strfilter__new (const char *rules , const char **err ); ARGUMENTS rules Filter rule, which is a combination of glob expressions. err Pointer which points an error detected on rules DESCRIPTION Parse rules and return ne...
strfilter__or(9)
NAME strfilter__or - Append an additional rule by logical-or SYNOPSIS int strfilter__or (struct strfilter *filter , const char *rules , const char **err ); ARGUMENTS filter Original string filter rules Filter rule to be appended at left of the root of filter by using logical-or. err ...
strfilter__string(9)
NAME strfilter__string - Reconstruct a rule string from filter SYNOPSIS char * strfilter__string (struct strfilter *filter ); ARGUMENTS filter String filter to reconstruct DESCRIPTION Reconstruct a rule string from filter. This will be good for debug messages. Note that returning string must be freed afterward....
strfmon(3)
NAME strfmon, strfmon_l - convert monetary value to a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <monetary.h> ssize_t strfmon(size_t size; char s[restrict size], size_t size, const char *restrict format, ...); ssize_t strfmon_l(size_t s...
strfmon(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strfmon, strfmon_l — convert monetary value to a string SYNOPS...
strfmon_l(3)
NAME strfmon, strfmon_l - convert monetary value to a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <monetary.h> ssize_t strfmon(size_t size; char s[restrict size], size_t size, const char *restrict format, ...); ssize_t strfmon_l(size_t s...
strfnames.3x(3)
NAME SP, acs_map, boolcodes, boolfnames, boolnames, cur_term, numcodes, numfnames, numnames, strcodes, strfnames, strnames, ttytype - terminfo global variables SYNOPSIS #include <ncursesw/curses.h> #include <term.h> chtype acs_map[]; SCREEN * SP; TERMINAL * cur_term; char ttytype[]; ...
strfromd(3)
NAME strfromd, strfromf, strfroml - convert a floating-point value into a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int strfromd(size_t n; char str[restrict n], size_t n, const char *restrict format, double fp); int strfromf(size_...
strfromf(3)
NAME strfromd, strfromf, strfroml - convert a floating-point value into a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int strfromd(size_t n; char str[restrict n], size_t n, const char *restrict format, double fp); int strfromf(size_...
strfroml(3)
NAME strfromd, strfromf, strfroml - convert a floating-point value into a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> int strfromd(size_t n; char str[restrict n], size_t n, const char *restrict format, double fp); int strfromf(size_...
strfry(3)
NAME strfry - randomize a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <string.h> char *strfry(char *string); DESCRIPTION The strfry() function randomizes the contents of string by randomly swapping characters in the string. The...
strftime(3)
NAME strftime - format date and time LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <time.h> size_t strftime(size_t max; char s[restrict max], size_t max, const char *restrict format, const struct tm *restrict tm); size_t s...
strftime(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strftime, strftime_l — convert date and time to a string SYNOP...
strftime_l(3)
NAME strftime - format date and time LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <time.h> size_t strftime(size_t max; char s[restrict max], size_t max, const char *restrict format, const struct tm *restrict tm); size_t s...
strglobmatch(9)
NAME strglobmatch - glob expression pattern matching SYNOPSIS bool strglobmatch (const char *str , const char *pat ); ARGUMENTS str the target string to match pat the pattern string to match DESCRIPTION This returns true if the str matches pat. pat can includes wildcards ('*','?') and charact...
strim(9)
NAME strim - Removes leading and trailing whitespace from @s. SYNOPSIS char * strim (char *s ); ARGUMENTS s The string to be stripped. DESCRIPTION Note that the first trailing whitespace is replaced with a NUL-terminator in the given string s. Returns a pointer to the first non-whitespace character in s. ...
string(3)
NAME stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, strrchr, strsep, strspn, strstr, strtok, strxfrm, index, rindex - string operations LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <strings.h> strcasecm...
string.h(0p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME string.h — string operations SYNOPSIS #include <string.h> DES...
string_copying(7)
NAME stpcpy, strcpy, strcat, stpecpy, strtcpy, strlcpy, strlcat, stpncpy, strncpy, strncat - copying strings and character sequences SYNOPSIS Strings // Chain-copy a string. char *stpcpy(char *restrict dst, const char *restrict src); // Copy/catenate a string. char *strcpy(char *restrict dst, const char...
string_escape_mem(9)
NAME string_escape_mem - quote characters in the given memory buffer SYNOPSIS int string_escape_mem (const char *src , size_t isz , char *dst , size_t osz , unsigned int flags , const char *only ); ARGUMENTS src source buffer (unescaped) isz source buffer size dst destination b...
string_get_size(9)
NAME string_get_size - get the size in the specified units SYNOPSIS int string_get_size (u64 size , u64 blk_size , const enum string_size_units units , char *buf , int len ); ARGUMENTS size The size to be converted in blocks blk_size Size of the block (use 1 for size in bytes) units Un...
string_unescape(9)
NAME string_unescape - unquote characters in the given string SYNOPSIS int string_unescape (char *src , char *dst , size_t size , unsigned int flags ); ARGUMENTS src source buffer (escaped) dst destination buffer (unescaped) size size of the destination buffer (0 to unlimit) ...
strings(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strings — find printable strings in files SYNOPSIS string...
strings.h(0p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strings.h — string operations SYNOPSIS #include <strings.h> D...
strip(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strip — remove unnecessary information from strippable fil...
strip(9)
NAME strip - strips all characters in 'reject' from 's' SYNOPSIS size_t strip (char *s , const char *reject ); ARGUMENTS s string to strip reject string of characters to remove DESCRIPTION Returns the length of the new string. SEE ALSO Kernel file ./drivers/gpu/drm/nouveau/nvkm/subdev/gsp...
strip_whitespace(9)
NAME strip_whitespace - Strip and pad trailing whitespace. SYNOPSIS void strip_whitespace (int i , char *buf ); ARGUMENTS i size of buffer buf string to modify DESCRIPTION This function will strip all trailing whitespace and NUL terminate the string. SEE ALSO Kernel file ./drivers/scsi/i...
strlazymatch(9)
NAME strlazymatch - matching pattern strings lazily with glob pattern SYNOPSIS bool strlazymatch (const char *str , const char *pat ); ARGUMENTS str the target string to match pat the pattern string to match DESCRIPTION This is similar to strglobmatch, except this ignores spaces in the target...
strlcat(9)
NAME strlcat - Append a string to an existing string SYNOPSIS size_t strlcat (char * const p , const char * const q , size_t avail ); ARGUMENTS p pointer to NUL-terminated string to append to q pointer to NUL-terminated string to append from avail Maximum bytes available in p...
strlcpy(9)
NAME strlcpy - Copy a C-string into a sized buffer SYNOPSIS size_t strlcpy (char *dest , const char *src , size_t size ); ARGUMENTS dest Where to copy the string to src Where to copy the string from size size of destination buffer DESCRIPTION Compatible with *BSD: the result ...
strlcpy_attr(9)
NAME strlcpy_attr - Copy a length-limited, NULL-terminated string with bound checks SYNOPSIS void strlcpy_attr (char *dest , char *src ); ARGUMENTS dest Where to copy the string to src Where to copy the string from SEE ALSO Kernel file ./drivers/platform/x86/dell/dell-wmi-sysman/sysman.c popu...
strlen(3)
NAME strlen - calculate the length of a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> size_t strlen(const char *s); DESCRIPTION The strlen() function calculates the length of the string pointed to by s, excluding the terminating null byte ('\0'). RETURN VALUE The strlen() functi...
strlen(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strlen, strnlen — get length of fixed size string SYNOPSIS #in...
strlen(9)
NAME strlen - Return count of characters in a NUL-terminated string SYNOPSIS strlen (p ); ARGUMENTS p pointer to NUL-terminated string to count. DESCRIPTION Do not use this function unless the string length is known at compile-time. When p is unterminated, this function may crash or return unexpected count...
strnames.3x(3)
NAME SP, acs_map, boolcodes, boolfnames, boolnames, cur_term, numcodes, numfnames, numnames, strcodes, strfnames, strnames, ttytype - terminfo global variables SYNOPSIS #include <ncursesw/curses.h> #include <term.h> chtype acs_map[]; SCREEN * SP; TERMINAL * cur_term; char ttytype[]; ...
strncasecmp(3)
NAME strcasecmp, strncasecmp - compare two strings ignoring case LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <strings.h> int strcasecmp(const char *s1, const char *s2); int strncasecmp(size_t n; const char s1[n], const char s2[n], size_t n); DESCRIPTION The strcase...
strncasecmp(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strncasecmp, strncasecmp_l — case-insensitive string comparison...
strncasecmp(9)
NAME strncasecmp - Case insensitive, length-limited string comparison SYNOPSIS int strncasecmp (const char *s1 , const char *s2 , size_t len ); ARGUMENTS s1 One string s2 The other string len the maximum number of characters to compare SEE ALSO Kernel file ./lib/string.c st...
strncat(3)
NAME strncat - append non-null bytes from a source array to a string, and null-terminate the result LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strncat(size_t ssize; char *restrict dst, const char src[restrict ssize], size_t ssize); DESC...
strncat(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strncat — concatenate a string with part of another SYNOPSIS #...
strncat(9)
NAME strncat - Append a string to an existing string SYNOPSIS char * strncat (char * const p , const char * const q , __kernel_size_t count ); ARGUMENTS p pointer to NUL-terminated string to append to q pointer to source string to append from count Maximum bytes to read from ...
strnchr(9)
NAME strnchr - Find a character in a length limited string SYNOPSIS char * strnchr (const char *s , size_t count , int c ); ARGUMENTS s The string to be searched count The number of characters to be searched c The character to search for DESCRIPTION Note that the NUL-termina...
strnchrnul(9)
NAME strnchrnul - Find and return a character in a length limited string, or end of string SYNOPSIS char * strnchrnul (const char *s , size_t count , int c ); ARGUMENTS s The string to be searched count The number of characters to be searched c The character to search for DE...
strncmp(3)
NAME strcmp, strncmp - compare two strings LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> int strcmp(const char *s1, const char *s2); int strncmp(size_t n; const char s1[n], const char s2[n], size_t n); DESCRIPTION The strcmp() function compares the two strings ...
strncmp(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strncmp — compare part of two strings SYNOPSIS #include <strin...
strncmp(9)
NAME strncmp - Compare two length-limited strings SYNOPSIS int strncmp (const char *cs , const char *ct , size_t count ); ARGUMENTS cs One string ct Another string count The maximum number of bytes to compare SEE ALSO Kernel file ./lib/string.c strncasecmp(9), stpcpy(9), ...
strncpy(3)
NAME stpncpy, strncpy - fill a fixed-size buffer with non-null bytes from a string, padding with null bytes as needed LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strncpy(size_t dsize; char dst[restrict dsize], const char *restrict src, si...
strncpy(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME stpncpy, strncpy — copy fixed length string, returning a pointe...
strncpy(9)
NAME strncpy - Copy a string to memory with non-guaranteed NUL padding SYNOPSIS char * strncpy (char * const p , const char *q , __kernel_size_t size ); ARGUMENTS p pointer to destination of copy q pointer to NUL-terminated source string to copy size bytes to write at p DES...
strncpy_from_user(9)
NAME strncpy_from_user - - Copy a NUL terminated string from userspace. SYNOPSIS long strncpy_from_user (char *dst , const char __user *src , long count ); ARGUMENTS dst Destination address, in kernel space. This buffer must be at least count bytes long. src Source address, in user space. ...
strncpy_from_user_nofault(9)
NAME strncpy_from_user_nofault - - Copy a NUL terminated string from unsafe user address. SYNOPSIS long strncpy_from_user_nofault (char *dst , const void __user *unsafe_addr , long count ); ARGUMENTS dst Destination address, in kernel space. This buffer must be at least count bytes long. unsafe_addr ...
strndup(3)
NAME strdup, strndup, strdupa, strndupa - duplicate a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strdup(const char *s); char *strndup(size_t n; const char s[n], size_t n); char *strdupa(const char *s); char *strndupa(size_t n; ...
strndup(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strndup — duplicate a specific number of bytes from a string S...
strndup_user(9)
NAME strndup_user - duplicate an existing string from user space SYNOPSIS char * strndup_user (const char __user *s , long n ); ARGUMENTS s The string to duplicate n Maximum number of bytes to copy, including the trailing NUL. RETURN newly allocated copy of s or an ERR_PTR in case of erro...
strndupa(3)
NAME strdup, strndup, strdupa, strndupa - duplicate a string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strdup(const char *s); char *strndup(size_t n; const char s[n], size_t n); char *strdupa(const char *s); char *strndupa(size_t n; ...
strnlen(3)
NAME strnlen - determine the length of a fixed-size string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> size_t strnlen(size_t maxlen; const char s[maxlen], size_t maxlen); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): strnlen()...
strnlen(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strnlen — get length of fixed size string SYNOPSIS #include <s...
strnlen(9)
NAME strnlen - Return bounded count of characters in a NUL-terminated string SYNOPSIS __kernel_size_t strnlen (const char * const p , __kernel_size_t maxlen ); ARGUMENTS p pointer to NUL-terminated string to count. maxlen maximum number of characters to count. DESCRIPTION Returns number of cha...
strnlen_user(9)
NAME strnlen_user - - Get the size of a user string INCLUDING final NUL. SYNOPSIS long strnlen_user (const char __user *str , long count ); ARGUMENTS str The string to measure. count Maximum count (including NUL character) CONTEXT User context only. This function may sleep if pagefaults are ena...
strnlen_user_nofault(9)
NAME strnlen_user_nofault - - Get the size of a user string INCLUDING final NUL. SYNOPSIS long strnlen_user_nofault (const void __user *unsafe_addr , long count ); ARGUMENTS unsafe_addr The string to measure. count Maximum count (including NUL) DESCRIPTION Get the size of a NUL-terminated string in use...
strnstr(9)
NAME strnstr - Find the first substring in a length-limited string SYNOPSIS char * strnstr (const char *s1 , const char *s2 , size_t len ); ARGUMENTS s1 The string to be searched s2 The string to search for len the maximum number of characters to search SEE ALSO Kernel file ...
stropts.h(0p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME stropts.h — STREAMS interface (STREAMS) SYNOPSIS #include <str...
strpbrk(3)
NAME strpbrk - search a string for any of a set of bytes LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strpbrk(const char *s, const char *accept); DESCRIPTION The strpbrk() function locates the first occurrence in the string s of any of the bytes in the string accept. RETURN VALU...
strpbrk(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strpbrk — scan a string for a byte SYNOPSIS #include <string.h...
strpbrk(9)
NAME strpbrk - Find the first occurrence of a set of characters SYNOPSIS char * strpbrk (const char *cs , const char *ct ); ARGUMENTS cs The string to be searched ct The characters to search for SEE ALSO Kernel file ./lib/string.c strncasecmp(9), stpcpy(9), strcmp(9), strncmp(9), strch...
strptime(3)
NAME strptime - convert a string representation of time to a time tm structure LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _XOPEN_SOURCE /* See feature_test_macros(7) */ #include <time.h> char *strptime(const char *restrict s, const char *restrict format, struct tm *res...
strptime(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strptime — date and time conversion SYNOPSIS #include <time.h>...
strrchr(3)
NAME strchr, strrchr, strchrnul - locate character in string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strchr(const char *s, int c); char *strrchr(const char *s, int c); #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <string.h> ...
strrchr(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strrchr — string scanning operation SYNOPSIS #include <string....
strrchr(9)
NAME strrchr - Find the last occurrence of a character in a string SYNOPSIS char * strrchr (const char *s , int c ); ARGUMENTS s The string to be searched c The character to search for SEE ALSO Kernel file ./lib/string.c strncasecmp(9), stpcpy(9), strcmp(9), strncmp(9), strchr(9), st...
strreplace(9)
NAME strreplace - Replace all occurrences of character in string. SYNOPSIS char * strreplace (char *s , char old , char new ); ARGUMENTS s The string to operate on. old The character being replaced. new The character old is replaced with. DESCRIPTION Returns pointer to the n...
strscpy(9)
NAME strscpy - Copy a C-string into a sized buffer SYNOPSIS strscpy (dst , src , ... ); ARGUMENTS dst Where to copy the string to src Where to copy the string from ... Size of destination buffer (optional) DESCRIPTION Copy the source string src, or as much of it as fits, into...
strscpy_check(9)
NAME strscpy_check - Run a specific test case. SYNOPSIS void strscpy_check (struct kunit *test , char *src , int count , int expected , int chars , int terminator , int pad ); ARGUMENTS test KUnit test context pointer src Source string, argument to strscpy_pad count Size of destin...
strscpy_pad(9)
NAME strscpy_pad - Copy a C-string into a sized buffer SYNOPSIS strscpy_pad (dst , src , ... ); ARGUMENTS dst Where to copy the string to src Where to copy the string from ... Size of destination buffer DESCRIPTION Copy the string, or as much of it as fits, into the dest buf...
strsep(3)
NAME strsep - extract token from string LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strsep(char **restrict stringp, const char *restrict delim); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): strsep(): Since glibc 2.19: ...
strsep(9)
NAME strsep - Split a string into tokens SYNOPSIS char * strsep (char **s , const char *ct ); ARGUMENTS s The string to be searched ct The characters to search for DESCRIPTION strsep updates s to point after the token, ready for the next call. It returns empty tokens, too, behaving exac...
strset_include(9)
NAME strset_include - test if a string set should be included in reply SYNOPSIS bool strset_include (const struct strset_req_info *info , const struct strset_reply_data *data , u32 id ); ARGUMENTS info parsed client request data pointer to request data structure id id of string ...
strsignal(3)
NAME strsignal, sigabbrev_np, sigdescr_np, sys_siglist - return string describing signal LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strsignal(int sig); const char *sigdescr_np(int sig); const char *sigabbrev_np(int sig); [[deprecated]] extern const char *co...
strsignal(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strsignal — get name of signal SYNOPSIS #include <string.h> ...
strspn(3)
NAME strspn, strcspn - get length of a prefix substring LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> size_t strspn(const char *s, const char *accept); size_t strcspn(const char *s, const char *reject); DESCRIPTION The strspn() function calculates the length (in bytes) of the ini...
strspn(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strspn — get length of a substring SYNOPSIS #include <string.h...
strspn(9)
NAME strspn - Calculate the length of the initial substring of @s which only contain letters in @accept SYNOPSIS size_t strspn (const char *s , const char *accept ); ARGUMENTS s The string to be searched accept The string to search for SEE ALSO Kernel file ./lib/string.c strncasecmp(9), stpcpy...
strstarts(9)
NAME strstarts - does @str start with @prefix? SYNOPSIS bool strstarts (const char *str , const char *prefix ); ARGUMENTS str string to examine prefix prefix to look for. SEE ALSO Kernel file ./tools/include/linux/string.h April 2026 ...
strstr(3)
NAME strstr, strcasestr - locate a substring LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <string.h> char *strstr(const char *haystack, const char *needle); #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <string.h> char *strcasestr(const char *haystack...
strstr(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME strstr — find a substring SYNOPSIS #include <string.h> ...
strstr(9)
NAME strstr - Find the first substring in a %NUL terminated string SYNOPSIS char * strstr (const char *s1 , const char *s2 ); ARGUMENTS s1 The string to be searched s2 The string to search for SEE ALSO Kernel file ./lib/string.c strncasecmp(9), stpcpy(9), strcmp(9), strncmp(9), strchr...
strtailcmp(9)
NAME strtailcmp - Compare the tail of two strings SYNOPSIS int strtailcmp (const char *s1 , const char *s2 ); ARGUMENTS s1 1st string to be compared s2 2nd string to be compared DESCRIPTION Return 0 if whole of either string is same as another's tail part. SEE ALSO Kernel file ./tools/perf...