'\" t .\" Title: strcspn .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Basic C Library Functions .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "STRCSPN" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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" strcspn \- Calculate the length of the initial substring of \fIs\fR which does not contain letters in \fIreject\fR .SH "SYNOPSIS" .HP \w'size_t\ strcspn('u .BI "size_t strcspn(const\ char\ *\ " "s" ", const\ char\ *\ " "reject" ");" .SH "ARGUMENTS" .PP \fIs\fR .RS 4 The string to be searched .RE .PP \fIreject\fR .RS 4 The string to avoid .RE .SH "COPYRIGHT" .br