I would appreciate any donations. Wishlist or send e-mail type donations to maekawa AT daemon-systems.org.

Thank you.


SKPC(9)                    Kernel Developer's Manual                   SKPC(9)

NAME
     skpc -- skip a character in a byte string

SYNOPSIS
     #include <lib/libkern/libkern.h>

     int
     skpc(u_char mask, size_t size, u_char *cp);

DESCRIPTION
     The skpc() function scans the byte string cp, whose length is size, until
     it finds the first character which isn't equal to mask or the string is
     exhausted.

RETURN VALUES
     The skpc() function returns the number of characters skipped.

HISTORY
     The skpc() function emulates a VAX instruction with the same name.

NetBSD 7.1.2                   November 1, 2011                   NetBSD 7.1.2