getcwd() isn't what i'm needing. I'll just describe what the program is.
The program will be used to students to handin homework assigments over the
network. the program handin will be in ~user/bin, the conf files will be in
~user/handin/conf and the students assignments will be stored in
~user/handin/assign#/user_id. They will issue the command by typing
"~coursenumber/bin/handin
If I understand what you want, there is a function called getcwd, (GET Current Working Directory) that does what you want. (see program at end) It is not ANSI standard C. It works with SuSE 6.1, YMMV. I've installed additional libraries and upgraded a few. I suspect it is available on most systems.
HTH, Jeffrey
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/