Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!brl-adm!adm!C08922DB%WUVMD.BITNET@CUNYVM.CUNY.EDU From: C08922DB%WUVMD.BITNET@CUNYVM.CUNY.EDU (Don Branson) Newsgroups: comp.lang.c Subject: Program name; writemsg() Message-ID: <11334@brl-adm.ARPA> Date: 19 Jan 88 23:06:25 GMT Sender: news@brl-adm.ARPA Lines: 13 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