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

📄 system.mex

📁 操作系统SunOS 4.1.3版本的源码
💻 MEX
字号:
.\" @(#)system.mex 1.1 92/07/30 SMI;.PL RIGHT.H C "System Calls \(em Section 2".LPThis section describes specificationsfor system calls and thecode instructions each requires.Most system calls require at least one.I "include file"before they can be run.Include files contain "housekeeping" data,such as formatting instuctions,options and error messages whichthe system call will use..H 2 HEADINGS.PD.LPHere is a list of the section headings which may appearin the man pages for Section 2:.RS.RS.IP.nf.SM NAME.SM SYNOPSIS.SM "SYSTEM V SYNOPSIS".SM AVAILABILITY.SM DESCRIPTION.SM "SYSTEM V DESCRIPTION".SM "RETURN VALUE".SM ERRORS.SM EXAMPLE(S).SM ENVIRONMENT.SM FILES.SM "SEE ALSO".SM WARNINGS.SM NOTES.SM BUGS.fi.RE.RE.LPSection 2 man pages differ from thegeneric in the following sections:.H 2 SYNOPSIS [SYSTEM V SYNOPSIS].IP \*(SQ 2.PD 0Literal characters (commands, options, etc.) appear in Bold font,exactly as they should be entered..IP \*(SQ 2Variables (arguments, parameters, and substitution characters)appear in Italic font with a descriptive term,such as.I filename ,.I directory ,or.I string ..H 3 Ordering.IP \*(SQ 2Include files are the firstsystem call codes to be listed.The include files are bracketed,listed in Bold and are preceded by.B #include ..IP \*(SQ 2Include files are separated from each other by.L .brand from the rest of the system call by.L .LP ..PD.IP.RS.RS.B "#include <sys/types.h>".br.B "#include <sys/stat.h>".RE.RE.IP \*(SQ 2The system call is listed next, also inBold font and separated by.L \&.br ..IP.RS.RS.B "int chmod(path, mode)".br.B "char *path;".br.B "int mode;".RE.RE.LPThe first line defines the system call type andgives the arguments necessary.The remaining lines definethe argument types..H 2 "RETURN VALUE".PD 0.IP \*(SQ 2Explain what values the system callreturns.  Thismay depend on the success of the system call..IP \*(SQ 2If the call returns a pointer to a structure,show the type definition or cite the file in which itis defined.List these definitions alphabetically using.L .SM .(A list of all return values appears in the introductionto Section 2 of the man pages.).H 2 "ERRORS".PD 0.IP \*(SQ 2List the error messages and explain their meanings..IP \*(SQ 2Most system calls have at least one error return,indicating whether the call process was successful or not.A complete list of these error messages appears in theintroduction to Section 2 of the man pagesand is also included in.L "errno.h" >. <.IP \*(SQ 2.I "Note:"The meaning of error numbers may changewith particular uses of the system calls.The interpretation of the error messages will thendepend on the type and circumstances of the individualsystem call..IP \*(SQ 2Error codes appear as.L .SM ..IP \*(SQ 2Error codes are listed alphabetically..IP \*(SQ 2Use.L "\&.TP 15".PD

⌨️ 快捷键说明

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