Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../.././../../../usr/man/man9f/msgpullup.9f
Real path: /usr/share/man/man9f/msgpullup.9f
Zurück
'\" te .\" Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. .TH msgpullup 9F "16 Jan 2006" "Oracle Solaris 11.4" "Kernel Functions" .SH NAME msgpullup \- concatenate bytes in a message .SH SYNOPSIS .LP .nf #include <sys/stream.h> \fBmblk_t *\fR\fBmsgpullup\fR(\fBmblk_t *\fR\fImp\fR, \fBssize_t\fR \fIlen\fR); .fi .SH INTERFACE LEVEL .sp .LP Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 .mk .na \fB\fImp\fR\fR .ad .RS 7n .rt Pointer to the message whose blocks are to be concatenated. .RE .sp .ne 2 .mk .na \fB\fIlen\fR\fR .ad .RS 7n .rt Number of bytes to concatenate. .RE .SH DESCRIPTION .sp .LP The \fBmsgpullup()\fR function concatenates and aligns the first \fIlen\fR data bytes of the message pointed to by \fImp\fR, copying the data into a new message. Any remaining bytes in the remaining message blocks will be copied and linked onto the new message. The original message is unaltered. If \fIlen\fR equals \fB\(mi1\fR, all data are concatenated. If \fIlen\fR bytes of the same message type cannot be found, \fBmsgpullup()\fR fails and returns \fINULL\fR. .SH RETURN VALUES .sp .LP The \fBmsgpullup\fR function returns the following values: .sp .ne 2 .mk .na \fB\fBNon-null\fR\fR .ad .RS 12n .rt Successful completion. A pointer to the new message is returned. .RE .sp .ne 2 .mk .na \fB\fINULL\fR\fR .ad .RS 12n .rt An error occurred. .RE .SH CONTEXT .sp .LP The \fBmsgpullup()\fR function can be called from user, interrupt, or kernel context. .SH SEE ALSO .sp .LP \fBsrv\fR(9E), \fBallocb\fR(9F), \fBpullupmsg\fR(9F), \fBmsgb\fR(9S) .sp .LP \fIWriting Device Drivers in Oracle Solaris 11.4\fR .sp .LP \fISTREAMS Programming Guide\fR .SH NOTES .sp .LP The \fBmsgpullup()\fR function is a \fBDKI\fR-compliant replacement for the older \fBpullupmsg\fR(9F) routine. Users are strongly encouraged to use \fBmsgpullup()\fR instead of \fBpullupmsg\fR(9F).