bstring(3)


NAME

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

SYNOPSIS

   #include <string.h>

   int bcmp(const void *s1, const void *s2, size_t n);

   void bcopy(const void *src, void *dest, size_t n);

   void bzero(void *s, size_t n);

   void *memccpy(void *dest, const void *src, 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 *dest, const void *src, size_t n);

   void *memfrob(void *s, size_t n);

   void *memmem(const void *needle, size_t needlelen,
                const void *haystack, size_t haystacklen);

   void *memmove(void *dest, const void *src, size_t n);

   void *memset(void *s, int c, size_t n);

DESCRIPTION

   The byte string functions perform operations on strings  (byte  arrays)
   that are not necessarily null-terminated.  See the individual man pages
   for descriptions of each function.

NOTES

   The functions bcmp(), bcopy() and bzero() are obsolete.  Use  memcmp(),
   memcpy() and memset() instead.

SEE ALSO

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

COLOPHON

   This page is part of release 4.09 of the Linux  man-pages  project.   A
   description  of  the project, information about reporting bugs, and the
   latest    version    of    this    page,    can     be     found     at
   https://www.kernel.org/doc/man-pages/.

                              2014-05-28                        BSTRING(3)


More Linux Commands

manpages/werase.3ncurses.html
werase(3ncurses) - clear all or part of a curses window.....
The erase and werase routines copy blanks to every position in the window, clearing the screen. The clear and wclear routines are like erase and werase, but the

manpages/glDisableClientState.3gl.html
glDisableClientState(3gl) - enable or disable client-side ca
glEnableClientState and glDisableClientState enable or disable individual client-side capabilities. By default, all client-side capabilities are disabled. Both

manpages/Tcl_ChannelClose2Proc.3.html
Tcl_ChannelClose2Proc(3) - procedures for creating and manip
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

manpages/XtConvertAndStore.3.html
XtConvertAndStore(3) - invoke resource converters (ManPage)
The XtConvertAndStore function looks up the type converter registered to convert from_type to to_type, computes any additional arguments needed, and then calls

manpages/lesskey.1.html
lesskey(1) - specify key bindings for less - Linux man page
Lesskey is used to specify a set of key bindings to be used by less. The input file is a text file which describes the key bindings. If the input file is -, sta

manpages/XCreateWindowEvent.3.html
XCreateWindowEvent(3) - CreateNotify event structure........
The structure for CreateNotify events contains: typedef struct { int type; /* CreateNotify */ unsigned long serial; /* # of last request processed by server */

manpages/XAddConnectionWatch.3.html
XAddConnectionWatch(3) - handle Xlib internal connections...
The XAddConnectionWatch function registers a procedure to be called each time Xlib opens or closes an internal connection for the specified display. The procedu

manpages/hid2hci.1.html
hid2hci(1) Bluetooth HID to HCI mode switching utility......
hid2hci.1 - hid2hci is used to set up switch supported Bluetooth devices into the HCI mode and back. OPTIONS --mode= [hid, hci] Sets the mode to switch the devi

manpages/atexit.3.html
atexit(3) - register a function to be called at normal proce
The atexit() function registers the given function to be called at normal process termination, either via exit(3) or via return from the programs main(). Functi

manpages/xvinfo.1.html
xvinfo(1) - Print out X-Video extension adaptor information
xvinfo prints out the capabilities of any video adaptors associated with the display that are accessible through the X-Video extension. OPTIONS -display display

manpages/pam_rhosts.8.html
pam_rhosts(8) - The rhosts PAM module - Linux manual page...
This module performs the standard network authentication for services, as used by traditional implementations of rlogin and rsh etc. The authentication mechanis

manpages/winsch.3ncurses.html
winsch(3ncurses) - insert a character before cursor in a cur
These routines insert the character ch before the character under the cursor. All characters to the right of the cursor are moved one space to the right, with t





We can't live, work or learn in freedom unless the software we use is free.