📄 putnext.9
字号:
'\" tr.\" -*- nroff -*-.\".\" @(#) putnext.9,v 1.1.4.1 2004/01/12 23:33:09 brian Exp.\".\" =========================================================================.\".\" Copyright (C) 2001-2004 OpenSS7 Corp. <www.openss7.com>.\".\" All Rights Reserved..\".\" Permission is granted to make and distribute verbatim copies of this.\" manual provided the copyright notice and this permission notice are.\" preserved on all copies..\".\" Permission is granted to copy and distribute modified versions of this.\" manual under the conditions for verbatim copying, provided that the.\" entire resulting derived work is distributed under the terms of a.\" permission notice identical to this one.\" .\" Since the Linux kernel and libraries are constantly changing, this.\" manual page may be incorrect or out-of-date. The author(s) assume no.\" responsibility for errors or omissions, or for damages resulting from.\" the use of the information contained herein. The author(s) may not.\" have taken the same level of care in the production of this manual,.\" which is licensed free of charge, as they might when working.\" professionally..\" .\" Formatted or processed versions of this manual, if unaccompanied by.\" the source, must acknowledge the copyright and authors of this work..\".\" =========================================================================.\".\" Modified 2004/01/12 23:33:09 by brian.\".\" =========================================================================.so lis.macros.R1bracket-label "\fR[\fB" "\fR]" "\fR, \fB"no-default-databasedatabase lis.refsaccumulatemove-punctuationabbreviate Ajoin-authors ", " ", " " and "et-al " et al" 2 3abbreviate-label-ranges ".."sort-adjacent-labels.R2.\".\".TH PUTNEXT 9 "2004/01/12 23:33:09" "LiS-2_16_18-8" "Linux STREAMS DDI/DKI".SH NAME.B putnext, lis_putnext\- puts a message on the downstream \fISTREAMS\fR message queue.SH SYNOPSIS.PP.B #include <sys/stream.h>.HP 8.BI "putnext(queue_t *" q ", mblk_t *" mp );.SH DESCRIPTION.PP.BR putnext ()invokes the put procedure of the queue.I q->q_nextwith the message pointed to by.IR mp..PP.BR putnext ()is normally invoked from within the put or service procedure belonging toqueue.IR q ..PPIt is the responsibility of a procedure calling.BR putnext ()with a low priority message pointed to by.I mpto first call.BR canputnext (9)for the queue to check for flow control.If.BR canputnext (9)fails for queue.IR q ,the procedure should not normally invoke.BR putnext ()with a low priority message for the flow controlled queue.IR q->q_next ..SH "RETURN VALUES".PP.BR putnext ()returns void..SH ERRORS.PP.BR putnext ()fails silently and frees the message pointed to by.I mpwhen the following occurs:the message pointer.I mpis.BR NULL ;the queue pointer.I qis.BR NULL ;the structure pointed to by.I qis not a queue structure;the pointer.I q->q_nextis.BR NULL ..SH CAVEATS.PPThe.B LiS.[LiS.]implementation of.BR putnext ()also fails silently if.I q->q_nexthas a.I q_infopointer of.BR NULL ;the queue pointed to by.I q->q_nexthas no put procedure; or thequeue pointed to by.I q->q_nextis closing, or the queue has had put and service routine processing turned off(e.g. with.BR qprocsoff (9))..SH "SEE ALSO".PP.BR putq (9),.BR canputnext (9)..SH VERSIONS.PPThis manpage was written for.B LiS\c..[LiS.].PP.BR putnext ()first appeared in SVR 3..[svr3.]In SVR 3,.[svr3.]4 and 4.2,.BR putnext ()returned.BR int .C compilers at the time did not support.B voidas a return value, and the value returned by.BR putnext ()was ignored..\".\".XX.[magic.].[svr42.].[svr4.].\".\".[$LIST$.].TA
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -