tail head cat sleep
QR code linking to this page

Manual Pages  — MEMCCHR

NAME

memcchr – locate the complement of a byte in byte string

CONTENTS

SYNOPSIS

#include <sys/libkern.h>

void *
memcchr(const void *b, int c, size_t len);

DESCRIPTION

The memcchr() function locates the first occurrence of a byte unequal to c (converted to an unsigned char) in string b.

RETURN VALUES

The memcchr() function returns a pointer to the byte located, or NULL if no such byte exists within len bytes.

SEE ALSO

memchr(3)

HISTORY

The memcchr() function first appeared in FreeBSD 10.0 .

MEMCCHR (9) January 1, 2012

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

This philosophy, in the hands of amateurs, leads to inexplicably mind-numbing botches like the existence of two programs, “head” and “tail,” which print the first part or the last part of a file, depending. Even though their operations are duals of one another, “head” and “tail” are different programs, written by different authors, and take different options!
— The Unix Haters' handbook