home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!ox-prg!oxuniv!rohl
- From: rohl@vax.oxford.ac.uk
- Newsgroups: comp.unix.programmer
- Subject: A Programming Problem!
- Message-ID: <1992Aug12.123152.8226@vax.oxford.ac.uk>
- Date: 12 Aug 92 11:31:52 GMT
- Organization: Oxford University VAX 6620
- Lines: 7
-
- I am writing a program in C under UNIX and need to find out the name of
- the directory from which a program was run. This is because the program
- needs to open a text file in its directory which contains help. I
- don't think that I can find this in ANSI C and I'm not very familiar
- with UNIX systems calls.
- Thanks for any help
- Andrew Rohl
-