📄 qccchanneladdsymboltochannel.3
字号:
.TH QCCCHANNELADDSYMBOLTOCHANNEL 3 "QCCPACK" "".SH NAMEQccChannelAddSymbolToChannel\- add a symbol to channel.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccChannelAddSymbolToChannel(QccChannel *" channel ", int " symbol );.SH DESCRIPTION.B QccChannelAddSymbolToChannel()adds a symbol to the channel by incrementing its length and insertingthe new symbol at the end of the channel..LP.B QccChannelAddSymbolToChannel()does not work of channels being accesed in blocks; consequently,.IR channel -> access_block_sizemust be.BR QCCCHANNEL_ACCESSWHOLEFILE ..IR channel -> channel_lengthmust give the current length of the channel..B QccChannelSymbolAddToChannel()increments.IR channel -> channel_length and.IR channel -> channel_symbolsis adjusted to account for this increased length.If the channel originally had zero length (i.e.,.IR channel -> channel_symbolsequaled.BR NULL ),then.IR channel -> channel_symbolsis allocated to a length-1 channel; otherwise,.IR channel -> channel_symbolsis reallocated to the new channel length.The new symbol,.IR symbol ,is placed at the end of the channel,.IR channel -> channel_symbols [ channel -> channel_length " - 1].".SH "RETURN VALUE"On successful completion, 0 is returned. On error, 1 is returned..SH "SEE ALSO".BR QccChannel (3),.BR QccPack (3).SH AUTHORCopyright (C) 1997-2009 James E. Fowler.\" The programs herein are free software; you can redistribute them an.or.\" modify them under the terms of the GNU General Public License.\" as published by the Free Software Foundation; either version 2.\" of the License, or (at your option) any later version..\" .\" These programs are distributed in the hope that they will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\" .\" You should have received a copy of the GNU General Public License.\" along with these programs; if not, write to the Free Software.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -