Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../.././../../../usr/man/man9f/dupmsg.9f
Real path: /usr/share/man/man9f/dupmsg.9f
Zurück
'\" te .\" Copyright (c) 1989, AT&T. All rights reserved. .\" Portions Copyright (c) 1991, Oracle and/or its affiliates. All rights reserved. .TH dupmsg 9F "11 Apr 1991" "Oracle Solaris 11.4" "Kernel Functions" .SH NAME dupmsg \- duplicate a message .SH SYNOPSIS .LP .nf #include <sys/stream.h> \fBmblk_t *\fR\fBdupmsg\fR(\fBmblk_t *\fR\fImp\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 6n .rt Pointer to the message. .RE .SH DESCRIPTION .sp .LP \fBdupmsg()\fR forms a new message by copying the message block descriptors pointed to by \fImp\fR and linking them. \fBdupb\fR(9F) is called for each message block. The data blocks themselves are not duplicated. .SH RETURN VALUES .sp .LP If successful, \fBdupmsg()\fR returns a pointer to the new message block. Otherwise, it returns a \fINULL\fR pointer. A return value of \fINULL\fR indicates either memory depletion or the data block reference count, \fBdb_ref\fR (see \fBdatab\fR(9S)), has reached a limit (\fB255\fR). See \fBdupb\fR(9F). .SH CONTEXT .sp .LP \fBdupmsg()\fR can be called from user, kernel, or interrupt context. .SH EXAMPLES .LP \fBExample 1\fR Using \fBdupmsg()\fR .sp .LP See \fBcopyb\fR(9F) for an example using \fBdupmsg()\fR. .SH SEE ALSO .sp .LP \fBcopyb\fR(9F), \fBcopymsg\fR(9F), \fBdupb\fR(9F), \fBdatab\fR(9S) .sp .LP \fIWriting Device Drivers in Oracle Solaris 11.4\fR .sp .LP \fISTREAMS Programming Guide\fR