insque.3

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3 代码 · 共 41 行

3
41
字号
.\" SCCSID: @(#)insque.3	8.2	1/28/91.TH insque 3.SH Nameinsque, remque \- insert/remove element from a queue.SH Syntax.nf.DT.B struct qelem {.B      struct	qelem *q_forw;.B      struct	qelem *q_back;.B      char	q_data[];};.PP.B void insque(\fIelem, pred\fP)struct qelem *\fIelem, *pred\fP;.PP.B void remque(\fIelem\fP)struct qelem *\fIelem\fP;.fi.SH Description.NXR "insque subroutine".NXR "remque subroutine".NXR "queue" "removing elements"The.PN insqueand .PN remquesubroutines manipulate queues built from doubly linked lists.  Eachelement in the queue must in the form of ``struct qelem.''The.PN insquesubroutine inserts .I elemin a queue immediately after .IR pred .The.PN remquesubroutine removes an entry.I elem from a queue.

⌨️ 快捷键说明

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