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

skpc
skip a character in a byte string

#include <lib/libkern/libkern.h>

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

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.

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

The skpc() function emulates a VAX instruction with the same name.
November 1, 2011 NetBSD 9.2