delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/29/07:20:36

From: fixallpcs AT aol DOT com (FixAllPCs)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Command Line parameters
Lines: 22
NNTP-Posting-Host: ladder05.news.aol.com
X-Admin: news AT aol DOT com
Date: 28 Jun 1999 22:05:41 GMT
References: <7l8qit$47s AT dfw-ixnews21 DOT ix DOT netcom DOT com>
Organization: AOL http://www.aol.com
Message-ID: <19990628180541.22728.00000969@ng-ch1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

When I executed that, I got this output:

C:\c\test>argumentsc Hello
argv[0]: V
Exiting due to signal SIGSEGV
General Protection Fault at eip=0000659e
eax=00000001 ebx=00000000 ecx=00000073 edx=ffffffed esi=ffffffff edi=0008eacc
ebp=0008eaa0 esp=0008d6c0 program=C:\C\TEST\ARGUME~1.EXE
cs: sel=00a7  base=82c5b000  limit=0009ffff
ds: sel=00af  base=82c5b000  limit=0009ffff
es: sel=00af  base=82c5b000  limit=0009ffff
fs: sel=0087  base=0000efa0  limit=0000ffff
gs: sel=00bf  base=00000000  limit=0010ffff
ss: sel=00af  base=82c5b000  limit=0009ffff
App stack: [0008eaf0..0000eaf0]  Exceptn stack: [0000e9d8..0000ca98]

Call frame traceback EIPs:
  0x0000659e
  0x00002972
  0x000015a2
  0x00002546

- Raw text -


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