home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!caen!hellgate.utah.edu!cc.usu.edu!cc.usu.edu!randy
- From: randy@pippin.ee.usu.edu (Randy Ray West)
- Newsgroups: comp.lang.c
- Subject: Need getwd() function -- HELP!
- Message-ID: <RANDY.92Aug19150306@pippin.ee.usu.edu>
- Date: 19 Aug 92 22:03:06 GMT
- Article-I.D.: pippin.RANDY.92Aug19150306
- Distribution: comp.lang.c
- Organization: Utah State University Dept EE Logan, Utah
- Lines: 20
- Nntp-Posting-Host: pippin.ee.usu.edu
-
-
- The system that I am working on (Sun Unix Workstation) doesn't have a
- C library function that will return the current working directory. I
- believe the function I'm after is getwd().
-
- char *getwd(pathname)
- char pathname[MAXPATHLEN]
-
- It is supposed to be in #include<sys/param.h> but isn't on my system.
-
- Any help would be appreciated. Please email me.
- --
- -----------------------------------------------------------------------------
- Randy R West (randy@pippin.ee.usu.edu)
- Space Dynamics Laboratory\Utah State University
- Logan, Utah
-
- DISCLAIMER:
- My opinions and/or statements do not necessarily represent my employer's.
- _____________________________________________________________________________
-