👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

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

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

NAME
     scanc -- use byte string as lookup table index

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

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

DESCRIPTION
     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.

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

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

BSD					 November 1, 2011				      BSD


All times are GMT -4. The time now is 05:05 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password