⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qreply.9

📁 7号信令功能代码,为开源代码
💻 9
字号:
'\" tr.\" -*- nroff -*-.\".\" @(#) qreply.9,v 1.1.4.1 2004/01/12 23:33:11 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:11 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 QREPLY 9 "2004/01/12 23:33:11" "LiS-2_16_18-8" "Linux STREAMS DDI/DKI".SH NAME.B qreply, lis_qreply\- replys to a message from a \fISTREAMS\fR message queue.SH SYNOPSIS.PP.B #include <sys/stream.h>.HP 8.BI "qreply(queue_t *" q ", mblk_t *" mp );.SH DESCRIPTION.PP.BR qreply ()replies, with the message pointed to by.IR mp ,to the read queue that is upstream from the specified write queuepointed to by.IR q ,or the write queue downstream from the specified read queue pointed to by.IR q ..PP.BR qreply ()is normally used within.IR q 'sput or service procedures to reply to messages that have arrived on its writequeue from upstream, or its read queue from downstream..SH "RETURN VALUES".PP.BR qreply ()returns.BR void ..SH ERRORS.PP.BR qreply ()silently fails ifsilently fails and frees the passed in message ifthe message pointer.I mpis.BR NULL ..BR qreply ()silently fails and frees the passed in message ifthe queue pointer.I qis.BR NULL ,or.BI OTHERQ( q )is.BR NULL ;.BI OTHERQ( q )does not refer to a queue structure;.BI OTHERQ( q ) ->q_nextis.BR NULL ;.BI OTHERQ( q ) ->q_nextdoes not refer to a queue structure;.BI OTHERQ( q ) ->q_next->q_infois.BR NULL ,or.BI OTHERQ( q ) ->q_nextdoes not have a put procedure;.BI OTHERQ( q ) ->q_nexthas put and service procedures turned off (e.g. with.BR qprocsoff (9))..SH CAVEATS.PP\fB\)qreply(\fI\)q\fB\), \fI\)mp\fB\))\fR\)has the same effect as\fB\)putnext(OTHERQ(\fI\)q\fB\))\fI\)->q_next\fB\), \fI\)mp\fB\))\fR\)..PPBecause.BR qreply ()invokes the put procedure of the upstream or downstream queue, the same careshould be taken with.BR qreply ()as is taken with.BR putnext (9)..SH "SEE ALSO".PP.BR OTHERQ (9),.BR putnext (9),.BR putq (9)..SH VERSIONS.PPThis manpage was written for.B LiS\c..[LiS.].PP.BR qreply ()first appeared in SVR 3..[svr3.].\".\".XX.[magic.].[svr42.].[svr4.].\".\".[$LIST$.].TA

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -