?? fd_move.3
字號:
.TH fd_move 3.SH NAMEfd_move \- renumber a descriptor.SH SYNTAX.B #include <fd.h>int \fBfd_move\fP(\fIto\fR,\fIfrom\fR);int \fIto\fR;.brint \fIfrom\fR;.SH DESCRIPTION.B fd_movemovesdescriptor.I fromto descriptor.IR to .If.I towas already open,.B fd_movecloses it.If the move is successful,.B fd_movecloses.IR from .Exception:if.I toand.I fromare the same number,.B fd_movedoes nothing..B fd_movereturns 0 on success, -1 on error..SH "SEE ALSO"dup(2),fd_copy(3)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -