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,646 of 243,242    |
|    Lawrence =?iso-8859-13?q?D=FFOlivei to Michael Sanders    |
|    Re: srand(0)    |
|    31 Dec 25 03:10:52    |
      From: ldo@nz.invalid              On Wed, 31 Dec 2025 02:01:55 -0000 (UTC), Michael Sanders wrote:              > *ISO C (C17 / C23)*:       >       > C17, 5.1.2.2.1 "Program startup"       >       > The value of argc shall be nonnegative.       >       > argv[argc] shall be a null pointer.       >       > If the value of argc is greater than zero, the array members argv[0]       > through argv[argc−1] inclusive shall contain pointers to strings       > which are given implementation-defined values.       >       > ...       >       > What say you?              Clearly on Windows, there are no guarantees about argc contains, so       you shouldn’t be relying on it.              --- 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