?? chdir.2
字號:
.TH "CHDIR" 2 .SH NAMEchdir, chroot \- change default directory.SH SYNOPSIS.B chdir(dirname).br.B char *dirname;.PP.B chroot(dirname).br.B char *dirname;.SH DESCRIPTION.I Dirnameis the address of the pathname of a directory, terminated by a null byte..I Chdircauses this directoryto become the current working directory,the starting point for path names not beginning with `/'..PP.I Chrootsets the root directory, thestarting point for path names beginning with `/'.The call is restricted to the super-user..SH "SEE ALSO"cd(1).SH DIAGNOSTICSZero is returned if the directory is changed; \-1is returnedif the given name is not that of a directoryor is not searchable..SH ASSEMBLER(chdir = 12.).br.B sys chdir; dirname.PP(chroot = 61.).br.B sys chroot; dirname
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -