我们可以通过在改变工作目录之前调用getcwd函数保存开始位置。
We can save the starting location by calling getcwd before we change our working directory.
OBEX客户机发送SETPATH请求以指导obex客户机改变工作目录(类似于cd命令)。
An OBEX client will send a SETPATH request to instruct the OBEX client to change the working directory (the CD command).
现在,我们可以看到,我们已经把当前的工作目录,改变到/usr/X11R6/bin目录下,这个目录下包含很多文件。
Now we can see that we have changed the current working directory to /usr/X11R6/bin and that it is full of files.
应用推荐