Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man9f/bcmp.9f
Real path: /usr/share/man/man9f/bcmp.9f
Zurück
'\" te .\" Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. .TH bcmp 9F "16 Jan 2006" "Oracle Solaris 11.4" "Kernel Functions" .SH NAME bcmp \- compare two byte arrays .SH SYNOPSIS .LP .nf #include <sys/types.h> #include <sys/ddi.h> \fBint\fR \fBbcmp\fR(\fBconst void *\fR\fIs1\fR, \fBconst void *\fR\fIs2\fR, \fBsize_t\fR \fIlen\fR); .fi .SH INTERFACE LEVEL .sp .LP Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIs1\fR\fR .ad .RS 7n .rt Pointer to the first character string. .RE .sp .ne 2 .mk .na \fB\fIs2\fR\fR .ad .RS 7n .rt Pointer to the second character string. .RE .sp .ne 2 .mk .na \fB\fIlen\fR\fR .ad .RS 7n .rt Number of bytes to be compared. .RE .SH DESCRIPTION .sp .LP The \fBbcmp()\fR function compares two byte arrays of length \fIlen\fR. .SH RETURN VALUES .sp .LP The \fBbcmp()\fR function returns \fB0\fR if the arrays are identical, or \fB1\fR if they are not. .SH CONTEXT .sp .LP The \fBbcmp()\fR function can be called from user, interrupt, or kernel context. .SH SEE ALSO .sp .LP \fBstrcmp\fR(9F) .sp .LP \fIWriting Device Drivers in Oracle Solaris 11.4\fR .SH NOTES .sp .LP Unlike \fBstrcmp\fR(9F), \fBbcmp()\fR does not terminate when it encounters a null byte.