GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  STRNLEN (3)

NAME

strlen, strnlen - find length of string

CONTENTS

Library
Synopsis
Description
Return Values
See Also
Standards

LIBRARY


.Lb libc

SYNOPSIS


.In string.h size_t strlen const char *s size_t strnlen const char *s size_t maxlen

DESCRIPTION

The strlen function computes the length of the string s. The strnlen function attempts to compute the length of s, but never scans beyond the first maxlen bytes of s.

RETURN VALUES

The strlen function returns the number of characters that precede the terminating NUL character. The strnlen function returns either the same result as strlen or maxlen, whichever is smaller.

SEE ALSO

string(3), wcslen(3), wcswidth(3)

STANDARDS

The strlen function conforms to -isoC. The strnlen function conforms to -p1003.1-2008.
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.