📄 genhdlist.3
字号:
.\" Copyright (c) 1987, Entropic Speech, Inc. All rights reserved..\" @(#)genhdlist.3 1.5 21 Dec 1989 ESI.TH GENHD_LIST 3\-ESPSu 21 Dec 1989.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH "NAME"genhd_list \- returns a list of defined generic header items.SH "SYNOPSIS".ft B#include <esps/esps.h>.PP.ft Bchar **.brgenhd_list(size, hd).brint *size;.brstruct header *hd;.ft R.SH "DESCRIPTION".I genhd_listreturns a pointer to a NULL terminated array of character strings (reallypointers) of the generic header item names in \fIhd\fR.The number of generic header items is returned through the pointer\fIsize\fR.If no generic header items have been defined, then NULL is returned and\fIsize\fR is returned as zero..SH EXAMPLE.PP.nfchar **array;int size;array = genhd_list(&size,hd);if (n >= 4) {\ \ printf("name: %s\\n",*array[3]); \fI/* prints the name of the 4th item */\fR}.fi.SH DIAGNOSTICS.PPIf \fIhd\fR is NULL the a message is printed and the program isterminated. There is an internal check to insure that the number ofdefined header items is correct. If this fails, a message is printedand the program terminates. This indicates an error in the librarysoftware..SH "SEE ALSO".PPadd_genhd(3\-ESPSu), get_genhd(3\-ESPSu),genhd_type(3\-ESPSu), copy_genhd(3\-ESPSu).SH "AUTHOR".PPAlan Parker
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -