由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - How to get module path under unix?
相关主题
FTP HelpApache中如何加入用户和口令?
Is there any software can D/L a whole directory?Help!
A simple question!请问显示可用打印机的命令
[转载] 问一个问题a question about using ftp dl music file
gcc in mac OSX文件的LINK到底有什么用处?
IE and netscape,which is better for solarishow to enter a directory like "..a pub" ? Thanks
[转载] 那个地方还有FREE的POP3 ACCOUNT?为什么Netscape启动以后就自动关闭?
[转载] pop3 programming problemwhat is the "core" in directory.
相关话题的讨论汇总
话题: pop3话题: ouc话题: under话题: directory话题: path
进入Unix版参与讨论
1 (共1页)
p*******n
发帖数: 1
1
Hi,
How to get module path using c under unix? I.E, I have an
executable file pop3 under directory /home/ouc/util, and
/home/ouc/util is added to PATH. So I can run pop3 anyway.
The problem is, pop3 needs to read some file which is under
the same directory as pop3, if I start pop3 at a directory
different from /home/ouc/util, say /home/ouc, how does pop3
get the directory where it itself resides? By the way,
getcwd doesn't work. I know how to do this, by calling
GetModuleName, under windows, but
1 (共1页)
进入Unix版参与讨论
相关主题
what is the "core" in directory.gcc in mac OSX
what's wrong with my CXterm5.0?IE and netscape,which is better for solaris
how to write robort in perl w/out expect?[转载] 那个地方还有FREE的POP3 ACCOUNT?
what command is for changing the directory name?[转载] pop3 programming problem
FTP HelpApache中如何加入用户和口令?
Is there any software can D/L a whole directory?Help!
A simple question!请问显示可用打印机的命令
[转载] 问一个问题a question about using ftp dl music file
相关话题的讨论汇总
话题: pop3话题: ouc话题: under话题: directory话题: path