浏览代码

+ fd_clear changed to fd_zero

michael 26 年之前
父节点
当前提交
fff2ae8813
共有 1 个文件被更改,包括 9 次插入8 次删除
  1. 9 8
      docs/linux.tex

+ 9 - 8
docs/linux.tex

@@ -904,12 +904,13 @@ A compononent of the path has no search permission.
 \end{procedure}
 \end{procedure}
 \latex{\inputlisting{linuxex/ex9.pp}}
 \latex{\inputlisting{linuxex/ex9.pp}}
 \html{\input{linuxex/ex9.tex}}
 \html{\input{linuxex/ex9.tex}}
-\begin{procedurel}{FD\_Clear}{FDClear}
+
+\begin{procedurel}{FD\_ZERO}{FDZero}
 \Declaration
 \Declaration
-Procedure FD\_Clear (var fds:fdSet);
+Procedure FD\_ZERO (var fds:fdSet);
 
 
 \Description
 \Description
-\var{FD\_Clear} clears all the filedescriptors in the file descriptor 
+\var{FD\_ZERO} clears all the filedescriptors in the file descriptor 
 set \var{fds}.
 set \var{fds}.
 \Errors
 \Errors
 None.
 None.
@@ -936,7 +937,7 @@ None.
 \seef{Select}, 
 \seef{Select}, 
 \seef{SelectText}, 
 \seef{SelectText}, 
 \seef{GetFS},
 \seef{GetFS},
-\seepl{FD\_Clear}{FDClear}, 
+\seepl{FD\_ZERO}{FDZero}, 
 \seepl{FD\_Set}{FDSet}, 
 \seepl{FD\_Set}{FDSet}, 
 \seefl{FD\_IsSet}{FDIsSet}
 \seefl{FD\_IsSet}{FDIsSet}
 \end{procedurel}
 \end{procedurel}
@@ -952,7 +953,7 @@ is set.
 None.
 None.
 \SeeAlso
 \SeeAlso
 \seef{Select}, \seef{SelectText}, \seef{GetFS},
 \seef{Select}, \seef{SelectText}, \seef{GetFS},
-\seepl{FD\_Clear}{FDClear}, 
+\seepl{FD\_ZERO}{FDZero}, 
 \seepl{FD\_Clr}{FDClr},
 \seepl{FD\_Clr}{FDClr},
 \seepl{FD\_Set}{FDSet}
 \seepl{FD\_Set}{FDSet}
 \end{functionl}
 \end{functionl}
@@ -966,7 +967,7 @@ Procedure FD\_Set (fd:longint;var fds:fdSet);
 \Errors
 \Errors
 None.
 None.
 \SeeAlso
 \SeeAlso
-\seef{Select}, \seef{SelectText}, \seef{GetFS},\seepl{FD\_Clear}{FDClear}, 
+\seef{Select}, \seef{SelectText}, \seef{GetFS},\seepl{FD\_ZERO}{FDZero}, 
 \seepl{FD\_Clr}{FDClr}, \seefl{FD\_IsSet}{FDIsSet}
 \seepl{FD\_Clr}{FDClr}, \seefl{FD\_IsSet}{FDIsSet}
 \end{procedurel}
 \end{procedurel}
 For an example, see \seef{Select}.
 For an example, see \seef{Select}.
@@ -1981,7 +1982,7 @@ are checked to see if characters become available for reading. The entries
 in \var{writefds} are checked to see if it is OK to write to them, while
 in \var{writefds} are checked to see if it is OK to write to them, while
 entries in \var{exceptfds} are cheked to see if an exception occorred on
 entries in \var{exceptfds} are cheked to see if an exception occorred on
 them.
 them.
-You can use the functions \seepl{FD\_Clear}{FDClear}, \seepl{FD\_Clr}{FDClr}, 
+You can use the functions \seepl{FD\_ZERO}{FDZero}, \seepl{FD\_Clr}{FDClr}, 
 \seepl{FD\_Set}{FDSet}, \seefl{FD\_IsSet}{FDIsSet} to manipulate the individual elements of a set.
 \seepl{FD\_Set}{FDSet}, \seefl{FD\_IsSet}{FDIsSet} to manipulate the individual elements of a set.
 The pointers can be nil.
 The pointers can be nil.
 \var{N} is the largest index of a nonzero entry plus 1. (= the largest
 \var{N} is the largest index of a nonzero entry plus 1. (= the largest
@@ -2014,7 +2015,7 @@ On error, the function returns -1, and Errors are reported in LinuxError :
 \end{description}
 \end{description}
 \SeeAlso
 \SeeAlso
 \seef{SelectText}, \seef{GetFS}, 
 \seef{SelectText}, \seef{GetFS}, 
-\seepl{FD\_Clear}{FDClear},
+\seepl{FD\_ZERO}{FDZero},
 \seepl{FD\_Clr}{FDClr},
 \seepl{FD\_Clr}{FDClr},
 \seepl{FD\_Set}{FDSet}, 
 \seepl{FD\_Set}{FDSet}, 
 \seefl{FD\_IsSet}{FDIsSet}
 \seefl{FD\_IsSet}{FDIsSet}