Article View: comp.unix.internals
Article #2596System Call which Returns Executing Program Name?
From: Brian Ceccarelli 602/621-9615
Date: Thu, 21 Jan 1993 22:06
Date: Thu, 21 Jan 1993 22:06
16 lines
838 bytes
838 bytes
This should be an easy one for your UNIX gurus out there. 8-) Is there a system function I can call which returns the name of the executing program? I need to place such a function in some lower object library. Information in the argv of main(argc, argv) is not available at this level. Thanks! Brian Ceccarelli ---------------- brian@gamma1.lpl.arizona.edu
Technical Details
Message-ID:
<1993Jan21.220641.5858@organpipe.uug.arizona.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!hindmost!brianShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!hindmost!brian From: brian@lpl.arizona.edu (Brian Ceccarelli 602/621-9615) Newsgroups: comp.unix.internals Subject: System Call which Returns Executing Program Name? Message-ID: <1993Jan21.220641.5858@organpipe.uug.arizona.edu> Date: 21 Jan 93 22:06:41 GMT Sender: news@organpipe.uug.arizona.edu Organization: Lunar & Planetary Laboratory, Tucson AZ. Lines: 16