home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,661 of 243,242   
   Keith Thompson to Michael S   
   Re: srand(0)   
   31 Dec 25 15:03:34   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   Michael S  writes:   
   > On Wed, 31 Dec 2025 03:10:52 -0000 (UTC)   
   > Lawrence D’Oliveiro  wrote:   
   [...]   
   >> Clearly on Windows, there are no guarantees about argc contains, so   
   >> you shouldn’t be relying on it.   
   >   
   > How did you come to this conclusion?   
   > Keith's test appears to show the opposite - he was not able to convince   
   > the Windows system to call application with empty argv list.   
   > Of course, he tried only one way out of many, but knowing how native   
   > Windows system call works, it appears extremely likely that on Windows   
   > argc < 1 is impossible.   
      
   To be clear, my test didn't show anything about Windows.  I ran the test   
   under Cygwin, not under native Windows.   
      
   [...]   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca