strrchr man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

strchr(9F)		 Kernel Functions for Drivers		    strchr(9F)

NAME
       strchr, strrchr - find a character in a string

SYNOPSIS
       #include <sys/ddi.h>
       #include <sys/sunddi.h>

       char *strchr(const char *str, int chr);

       char *strrchr(const char *str, int chr);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

PARAMETERS
       str	Pointer to a string to be searched.

       chr	The character to search for.

DESCRIPTION
       strchr()

	   The	strchr() function returns a pointer to the first occurrence of
	   chr in the string pointed to by str.

       strrchr()

	   The strrchr() function returns a pointer to the last occurrence  of
	   chr in the string pointed to by str.

RETURN VALUES
       The  strchr()  and strrchr() functions return a pointer to a character,
       or NULL, if the search fails.

CONTEXT
       These functions can be called from user, interrupt, or kernel context.

SEE ALSO
       strcmp(9F)

       Writing Device Drivers

SunOS 5.10			  16 Jan 2006			    strchr(9F)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net