Unix/Linux Go Back    

NetBSD 6.1.5 - man page for scanc (netbsd section 9)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

SCANC(9)			  BSD Kernel Developer's Manual 			 SCANC(9)

     scanc -- use byte string as lookup table index

     #include <lib/libkern/libkern.h>

     scanc(size_t size, const u_char *cp, const u_char table[], int mask);

     The 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 ta-
     ble and mask isn't zero or the string is exhausted, the scan stops.

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

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

BSD					 November 1, 2011				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 01:33 PM.