'\" t .\" Title: strspn .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Basic C Library Functions .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "STRSPN" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Basic C Library Functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" strspn \- Calculate the length of the initial substring of \fIs\fR which only contain letters in \fIaccept\fR .SH "SYNOPSIS" .HP \w'size_t\ strspn('u .BI "size_t strspn(const\ char\ *\ " "s" ", const\ char\ *\ " "accept" ");" .SH "ARGUMENTS" .PP \fIs\fR .RS 4 The string to be searched .RE .PP \fIaccept\fR .RS 4 The string to search for .RE .SH "COPYRIGHT" .br