Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strlen(3) — OSF/1 3.0 αXP

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

string(3)

wcslen(3)

strlen(3)  —  Subroutines

NAME

strlen − Finds length of string

LIBRARY

Standard C Library (libc.a)

SYNOPSIS

#include <string.h> size_t strlen(
const char ∗s);

PARAMETERS

sSpecifies the string. 

DESCRIPTION

The strlen() function returns the number of bytes in the string pointed to by the s parameter. The string length value does not include the string terminating null character. 

NOTES

AES Support Level:
Full use.

RETURN VALUES

Upon successful completion, the strlen() function returns the number of characters in the string to which the s parameter points. Otherwise, (size_t)-1 is returned, and errno is set to indicate the error. 

RELATED INFORMATION

Functions: string(3), wcslen(3). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026