Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversstrlen(9F)


NAME

 strlen - determine the number of non-null bytes in a string

SYNOPSIS

 
#include <sys/ddi.h> 
size_tstrlen(const char *s);

INTERFACE LEVEL

 

Solaris DDI specific (Solaris DDI).

PARAMETERS

 
s
Pointer to a character string.

DESCRIPTION

 

strlen() returns the number of non-null bytes in the string argument s.

RETURN VALUES

 

strlen() returns the number of non-null bytes in s.

CONTEXT

 

strlen() can be called from user or interrupt context.

SEE ALSO

 

Writing Device Drivers


SunOS 5.9Go To TopLast Changed 11 Apr 1991

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.