bcmp man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

bcopy(3)							      bcopy(3)

NAME
       bcopy, bcmp, bzero - Perform memory operations

SYNOPSIS
       #include <strings.h>

       void bcopy(
	       const void *source,
	       void *destination,
	       size_t length ); int bcmp(
	       const void *string1,
	       const void *string2,
	       size_t length ); void bzero(
	       void *string,
	       size_t length );

       The  following function definitions do not conform to current standards
       and are supported only for backward compatibility:

       #include <string.h>

       void bcopy(
	       const char *source,
	       char *destination,
	       int length ); int bcmp(
	       const char *string1,
	       const char *string2,
	       int length ); void bzero(
	       char *string,
	       int length );

LIBRARY
       Standard C Library (libc)

STANDARDS
       Interfaces documented on this reference page conform to industry	 stan‐
       dards as follows:

       bcopy(), bcmp(), bzero(): XSH5.0

       Refer  to  the  standards(5)  reference page for more information about
       industry standards and associated tags.

PARAMETERS
       Points to the original string for the bcopy() function.	Points to  the
       destination string for the bcopy() function.  Specifies the byte string
       to be compared to the string2 parameter by the bcmp() function.	Speci‐
       fies  the  byte	string	to be compared to the string1 parameter by the
       bcmp() function.	 Specifies the length (in bytes) of the string.

DESCRIPTION
       The bcopy(), bcmp(), and bzero() functions operate on  variable	length
       strings	of  bytes.  Unlike the string functions, they do not check for
       null bytes.

       The bcopy() function copies the value of the length parameter in	 bytes
       from  the  string in the source parameter to the string in the destina‐
       tion parameter.

       The bcmp() function compares the byte string in the  string1  parameter
       against	the byte string of the string2 parameter, returning a 0 (zero)
       value if the two strings are identical and a nonzero value otherwise.

       The bzero() function nulls the string in the string parameter, for  the
       value of the length parameter in bytes.

NOTES
       [Tru64  UNIX]  The bcopy() function is similar to the memcpy() function
       except that the first two parameters are reversed.

SEE ALSO
       Functions: memccpy(3), memcpy(3), string(3), swab(3)

       Standards: standards(5)

								      bcopy(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net