[comp.lang.c] Program name; writemsg

C08922DB%WUVMD.BITNET@CUNYVM.CUNY.EDU (Don Branson) (01/20/88)

  I understand that the program name is supposed to be available under
DOS versions 3.00 and above- but it isn't in the PSP. Where is it?
The compiler that I'm using (Datalight) does not currently put the
program name in argv[0].

Also, there is a reference to the MS-C function  writemsg() in the
book Proficient C [an excellent book, by the way]. My compiler does not
support this- can someone either send a description that is good enough
that I can re-create the function, or send me public-domain source for
the function?

Don Branson