BSTRING(3) Library Functions Manual BSTRING(3)NAME
bcopy, bcmp, bzero, ffs - bit and byte string operations
SYNOPSIS
bcopy(src, dst, length)
char *src, *dst;
int length;
bcmp(b1, b2, length)
char *b1, *b2;
int length;
bzero(b, length)
char *b;
int length;
ffs(i)
long i;
DESCRIPTION
The functions bcopy, bcmp, and bzero operate on variable length strings of bytes. They do not check for null bytes as the routines in
string(3) do.
Bcopy copies length bytes from string src to the string dst.
Bcmp compares byte string b1 against byte string b2, returning zero if they are identical, non-zero otherwise. Both strings are assumed to
be length bytes long.
Bzero places length 0 bytes in the string b1.
Ffs find the first bit set in the argument passed it and returns the index of that bit. Bits are numbered starting at 1. A return value
of 0 indicates the value passed is zero.
BUGS
The bcopy routine take parameters backwards from strcpy.
4.2 Berkeley Distribution May 15, 1985 BSTRING(3)
Check Out this Related Man Page
BSTRING(3) BSD Library Functions Manual BSTRING(3)NAME
bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memmove, memset -- byte string operations
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <strings.h>
int
bcmp(const void *s1, const void *s2, size_t n);
void
bcopy(const void *s1, void *s2, size_t n);
void
bzero(void *s, size_t n);
#include <string.h>
void *
memccpy(void *restrict s1, const void *restrict s2, int c, size_t n);
void *
memchr(const void *s, int c, size_t n);
int
memcmp(const void *s1, const void *s2, size_t n);
void *
memcpy(void *restrict s1, const void *restrict s2, size_t n);
void *
memmove(void *s1, const void *s2, size_t n);
void *
memset(void *s, int c, size_t n);
DESCRIPTION
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.
LEGACY SYNOPSIS
#include <string.h>
The include file <string.h> is necessary and sufficient for all functions.
SEE ALSO bcmp(3), bcopy(3), bzero(3), memccpy(3), memchr(3), memcmp(3), memcpy(3), memmove(3), memset(3), compat(5)STANDARDS
The functions memchr(), memcmp(), memcpy(), memmove(), and memset() conform to ISO/IEC 9899:1990 (``ISO C90'').
HISTORY
The functions bzero() and memccpy() appeared in 4.3BSD; the functions bcmp(), bcopy(), appeared in 4.2BSD.
BSD June 4, 1993 BSD
I am trying to create a live image of solaris 11.1.
I have used #pkg image-update to upgrade from 11 to 11.1 already. (since only 11.1 can make images of 11.1 due to using new grub)
then from within 11.1 I used pkg install install distribution-constructor
to get latest usbcopy that should be... (1 Reply)
Heyas
I have a script (vhs - video handler script, using ffmpeg) to encode videos.
It also encodes a dvd, but until now just non-copy-protected ones, so i've tried to add/implement a vobcopy wrapper to be used by my script.
At first it looked quite fine, but when changing from the first VOB... (9 Replies)