GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BSTRING(3) FreeBSD Library Functions Manual BSTRING(3)

bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memmove, memset
byte string operations

Standard C Library (libc, -lc)

#include <string.h>

int
bcmp(const void *b1, const void *b2, size_t len);

void
bcopy(const void *src, void *dst, size_t len);

void
bzero(void *b, size_t len);

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

int
memcmp(const void *b1, const void *b2, size_t len);

void *
memccpy(void *dst, const void *src, int c, size_t len);

void *
memcpy(void *dst, const void *src, size_t len);

void *
memmove(void *dst, const void *src, size_t len);

void *
memset(void *b, int c, size_t len);

These functions operate on variable length strings of bytes. They do not check for terminating null bytes as the routines listed in string(3) do.

See the specific manual pages for more information.

bcmp(3), bcopy(3), bzero(3), memccpy(3), memchr(3), memcmp(3), memcpy(3), memmove(3), memset(3)

The functions memchr(), memcmp(), memcpy(), memmove(), and memset() conform to ISO/IEC 9899:1990 (“ISO C90”).

The functions bzero() and memccpy() appeared in 4.3BSD; the functions bcmp(), bcopy(), appeared in 4.2BSD.
June 4, 1993 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.