Home
       strcspn.3 - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       strcspn.3 (492B)
       ---
            1 .TH strcspn 3
            2 .SH NAME
            3 strcspn - get length of complementary substring
            4 .SH SYNOPSIS
            5 #include <string.h>
            6 
            7 size_t strcspn(const char *s1, const char *s2)
            8 .SH DESCRIPTION
            9 The
           10 .BR strcspn ()
           11 function computes the length
           12 of the maximum initial segment
           13 of string pointed to by
           14 .I s1
           15 which consists entirely of characters
           16 not from the string pointed to by
           17 .IR s2 .
           18 .SH RETURN VALUE
           19 The
           20 .BR strcspn ()
           21 function shall return the length of the segment.
           22 .SH STANDARDS
           23 ISO/IEC 9899:1999 Section 7.21.5.3