Query: scanc
OS: netbsd
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCANC(9) BSD Kernel Developer's Manual SCANC(9)NAMEscanc -- use byte string as lookup table indexSYNOPSIS#include <lib/libkern/libkern.h> int scanc(size_t size, const u_char *cp, const u_char table[], int mask);DESCRIPTIONThe scanc() function scans the byte string cp, whose length is size. A character in the string is used as an index in the 256-byte table. If a bitwise-AND of the byte from the table and mask isn't zero or the string is exhausted, the scan stops.RETURN VALUESThe scanc() function returns the number of characters skipped.HISTORYThe scanc() function emulates a VAX instruction with the same name.BSDNovember 1, 2011 BSD
Related Man Pages |
---|
memmem(3) - netbsd |
radixsort(3) - netbsd |
sradixsort(3) - netbsd |
kiconv(3) - freebsd |
kiconv_add_xlat16_cspairs(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Keyboard layout based on scancodes? |