from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

215482

userrating:


May 25th. 2007:
Words

486

Views

261906

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

154157

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





strchr

Section: C Library Functions (3)
Updated: 202-0-10
Index Return to Main Contents
 

NAME

strchr - string search character  

LIBRARY

Standard C library (libc,~-lc)  

SYNOPSIS

#include <string.h>
char *strchr(const char *s, int c);
 

DESCRIPTION

strchr() returns a pointer to the first occurrence of the character c in the string s. It is equivalent to both of the following expressions: memchr(s, c, strlen(s) + 1) strpbrk(s, (char [2]){c, [aq][rs]0[aq]})  

RETURN VALUE

strchr() returns a pointer to the matched character or NULL if the character is not found. The terminating null byte is considered part of the string, so that if c is specified as [aq][rs]0[aq], strchr() returns a pointer to the terminator.  

ATTRIBUTES

For an explanation of the terms used in this section, see attributes(7).
InterfaceAttributeValue
strchr() Thread safetyM-Safe
 

STANDARDS

C11, POSIX.-2008.  

HISTORY

POSIX.-2001, C89, SVr4, 4.3BSD.  

SEE ALSO

memchr(3), string(3), strchrnul(3), strnul(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3), wcschr(3),


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
ATTRIBUTES
STANDARDS
HISTORY
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 13.6 ms