memcchr (9)
Leading comments
Copyright (c) 2012 Ed Schouten <ed@FreeBSD.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentat...
(The comments found at the beginning of the groff file "man9/memcchr.9freebsd".)
NAME
memcchr
- locate the complement of a byte in byte string
SYNOPSIS
In sys/libkern.h
Ft void *
Fn memcchr const void *b int c size_t len
DESCRIPTION
The
Fn memcchr
function locates the first occurrence of a byte unequal to
Fa c
(converted to an
Vt unsigned char )
in string
Fa b .
RETURN VALUES
The
Fn memcchr
function returns a pointer to the byte located, or NULL if no such byte
exists within
Fa len
bytes.
SEE ALSO
memchr(3)
HISTORY
The
Fn memcchr
function first appeared in
Fx 10.0 .