Query: bitmap_parselist
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BITMAP_PARSELIST(9) Basic Kernel Library Functions BITMAP_PARSELIST(9)NAMEbitmap_parselist - convert list format ASCII string to bitmapSYNOPSISint bitmap_parselist(const char * bp, unsigned long * maskp, int nmaskbits);ARGUMENTSbp read nul-terminated user string from this buffer maskp write resulting mask here nmaskbits number of bits in mask to be writtenDESCRIPTIONInput format is a comma-separated list of decimal numbers and ranges. Consecutively set bits are shown as two hyphen-separated decimal numbers, the smallest and largest bit numbers set in the range. Returns 0 on success, -errno on invalid input strings.ERROR VALUES-EINVAL: second number in range smaller than first -EINVAL: invalid character in string -ERANGE: bit number specified too large for maskCOPYRIGHTKernel Hackers Manual 2.6. July 2010 BITMAP_PARSELIST(9)
Related Man Pages |
---|
l64a(3) - mojave |
ascii2binary(1) - debian |
ipsec_bitstomask(3) - centos |
ipsec_masktobits(3) - centos |
bitmap_remap(9) - suse |
Similar Topics in the Unix Linux Community |
---|
Getting command output to putty window title. |
Migrating to UNIX |
Cut command on RHEL 6.8 compatibility issues |
SOCKS proxy & PAM configuration exposure |
A (ksh) Library For and From UNIX.com |