📄 fileform.mex
字号:
.\" @(#)fileform.mex 1.1 92/07/30 SMI;.PL RIGHT.H C "File Formats \(em Section 5".LPThis Section describes formats of files used by various programs.These pages fall into two categories:.BPFormats for text files. .BPStructure data for binary files..H 2 HEADINGS.PD.LPHere is a list of the section headings which may appearin the man pages for Section 5:.RS.RS.IP.nf.SM NAME.SM SYNOPSIS.SM "SYSTEM V SYNOPSIS".SM AVAILABILITY.SM DESCRIPTION.SM "SYSTEM V DESCRIPTION".SM EXAMPLE(S).SM ENVIRONMENT.SM FILES.SM "SEE ALSO".SM DIAGNOSTICS.SM WARNINGS.SM NOTES.SM BUGS.fi.RE.RE.LPSection 5 man pages differ from thegeneric in the following sections:.H 2 NAME.LP.PD 0.IP \*(SQ 2List the file format followed bya summary of what the file contains..H 2 SYNOPSIS [SYSTEM V SYNOPSIS].IP \*(SQ 2This heading contains either the file pathnameor the include file where the format is defined.When an include file is provided, use it insteadof the pathname..IP \*(SQ 2If an include file is indicated,it is bracketed,listed in Bold font and preceded by.B #include ..IP \*(SQ 2Pathnames are listed in Bold font..PD.H 2 "\s-1ASCII\s0 Files".LPInclude a format diagram..IP \*(SQ 2Indent the diagram using.L .RS ..PD 0.IP \*(SQ 2List literal characters in Bold font..IP \*(SQ 2List variable fields in Italic font..PD.RS.IP.IB groupname : password :\c.IB gid : user-list.RE.LPDescribe variable fields using.L .TP ..IP \fIgroupname\fP 15name of the group.PD 0.IP \fIpassword\fPencrypted group password.IP \fIgid\fPnumerical group.SM ID(\s-1GID\s0).IP \fIuser-list\fPcomma-separated list of users allowed in the group.PD.H 2 "Binary Files".LPList all.L structdefinitions (in Bold font)..IP \*(SQ 2Indent.L structlisting using.L .RS ..RS.IP.ft B.nfstruct rasterfile { int ras_magic; int ras_width; int ras_height; int ras_depth; int ras_length; int ras_type; int ras_maptype; int ras_maplength;};.fi.ft.RE.IP \*(SQ 2Describe.L structfields using.L .TP ..PD 0.IP \*(SQ 2Always list.L structfields in Bold font..IP \*(SQ 2When documenting.L .h(header) files,list only the.L structdefinitions and relevant.L #definestatements.Do not document functions in Section 5!.IP \*(SQ 2If a.L .hfile contains only.L #definestatements for arguments or control flags of a system callor library function,do not document the file in Section 5.Put this informationon the man page of the relevant function..IP \*(SQ 2Remove most comments(enclosed by.L "/* */" ') `and summarize their content in the.SM DESCRIPTIONsection.An exception is comments which describe fields in.L structdefinitions..PD.PL
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -