delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/22/07:37:12

From: kunst AT prl DOT philips DOT nl
Subject: Re: long arguments
To: terra AT diku DOT dk
Date: Mon, 22 Nov 1993 13:20:16 +0100 (MET)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

Morten Welinder (terra AT diku DOT dk) writes:

> One question:
> 
>    Is there a simple way to detect bound executeables, i.e., detecting if
>    an .exe file will take long arguments via the environment?
> 

File names of bound executables end with '.EXE'. Unbound normally not.
You can simply check the file name in argv[0] if it ends with '.EXE'.

Pieter Kunst (kunst AT prl DOT philips DOT nl)


rom djgpp-bounces  Mon Nov 22 08:31:21 1993
Received: by sun.soe.clarkson.edu (4.1/SMI-4.1)
	id AA13451; Mon, 22 Nov 93 07:45:23 EST
Return-Path: <terraFrom djgpp-bounces  Tue Nov 23 19:33:04 1993
Received: by sun.soe.clarkson.edu (4.1/SMI-4.1)
	id AA14625; Tue, 23 Nov 93 18:40:30 EST
Return-Path: <bwojcik AT cs DOT tamu DOT edu>
Received: from clavin (clavin.cs.tamu.edu) by sun.soe.clarkson.edu (4.1/SMI-4.1)
	id AA14615; Tue, 23 Nov 93 18:39:49 EST
Received: from cs.tamu.edu ([128.194.132.172]) by clavin (AA05719); Tue, 23 Nov 93 14:36:29 CST
Date: Tue, 23 Nov 93 14:36:29 CST
From: bwojcik AT cs DOT tamu DOT edu (Brian J Wojcik)
Message-Id: <9311232036 DOT AA05719 AT clavin>
To: djgpp-announce AT sun DOT soe DOT clarkson DOT edu, djgpp AT sun DOT soe DOT clarkson DOT edu

Subject:  Want to join list.

Please add me to the djgpp mailing list.

Thanks,
Brian Wojcik
bwojcik AT cs DOT tamu DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019