Estratto del documento

Strchr

The Single UNIX ® Specification, Version 2 Copyright © 1997 The Open Group

Name

Strchr - string scanning operation

Synopsis

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

Description

The strchr() function locates the first occurrence of c (converted to an in the unsigned char) string pointed to by s. The terminating null byte is considered to be part of the string.

Return value

Upon completion, strchr() returns a pointer to the byte, or a null pointer if the byte was not found.

Errors

No errors are defined.

Examples

None.

Application usage

None.

Future directions

None.

See also

strrchr(), <string.h>.

Derivation

Derived from Issue 1 of the SVID. UNIX ® is a registered Trademark of The Open Group. Copyright © 1997 The Open Group.

[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]

1 di 2 10/06/2010 16:36

Anteprima
Vedrai una selezione di 1 pagina su 2
Sistemi operativi - Syscall strchr Pag. 1
1 su 2
D/illustrazione/soddisfatti o rimborsati
Acquista con carta o PayPal
Scarica i documenti tutte le volte che vuoi
Dettagli
SSD
Scienze matematiche e informatiche INF/01 Informatica

I contenuti di questa pagina costituiscono rielaborazioni personali del Publisher N. A. di informazioni apprese con la frequenza delle lezioni di Sistemi operativi e studio autonomo di eventuali libri di riferimento in preparazione dell'esame finale o della tesi. Non devono intendersi come materiale ufficiale dell'università Università degli studi di Napoli Federico II o del prof Cotroneo Domenico.
Appunti correlati Invia appunti e guadagna

Domande e risposte

Hai bisogno di aiuto?
Chiedi alla community