📄 getwd.3
字号:
.\" SCCSID: @(#)getwd.3 8.1 9/11/90.TH getwd 3.SH Namegetwd \- get current working directory pathname.SH Syntax.nf.B char *getwd(pathname).B char *pathname;.fi.SH Description.NXR "getwd subroutine".NXR "working directory" "getting pathname".NXA "directory" "working directory"The.PN getwdsubroutine copies the absolute pathname of the current working directory to.I pathnameand returns a pointer to the result..SH RestrictionsThe.PN getwdsubroutinemay fail to return to the current directory if an error occurs..PPPathnames can be no longer thanMAXPATHLEN as defined in <sys/param.h>..SH Return ValuesThe.PN getwdsubroutinereturns zero and places a message in.I pathnameif an error occurs.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -