home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / internal / 2144 next >
Encoding:
Internet Message Format  |  1993-01-21  |  812 b 

  1. Path: sparky!uunet!gatech!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!hindmost!brian
  2. From: brian@lpl.arizona.edu (Brian Ceccarelli 602/621-9615)
  3. Newsgroups: comp.unix.internals
  4. Subject: System Call which Returns Executing Program Name?
  5. Message-ID: <1993Jan21.220641.5858@organpipe.uug.arizona.edu>
  6. Date: 21 Jan 93 22:06:41 GMT
  7. Sender: news@organpipe.uug.arizona.edu
  8. Organization: Lunar & Planetary Laboratory, Tucson AZ.
  9. Lines: 16
  10.  
  11. This should be an easy one for your UNIX gurus out there. 8-)
  12.  
  13. Is there a system function I can call which returns the
  14. name of the executing program?   
  15.  
  16.  
  17. I need to place such a function in some lower object library.
  18. Information in the argv of main(argc, argv) is not available
  19. at this level.
  20.  
  21. Thanks!
  22.  
  23. Brian Ceccarelli
  24. ----------------
  25. brian@gamma1.lpl.arizona.edu
  26.   
  27.