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,657 of 243,242   
   Lawrence =?iso-8859-13?q?D=FFOlivei to Michael S   
   Re: srand(0)   
   31 Dec 25 20:51:41   
   
   From: ldo@nz.invalid   
      
   On Wed, 31 Dec 2025 15:15:02 +0200, Michael S wrote:   
      
   > ... using exec() in caller sounds like a bad idea. It just not how   
   > these systems work and not how people write programs on them.   
      
   I don’t think I’ve used exec() on its own without fork() much, but it   
   is quite common to do fork() without exec(). That’s another thing that   
   I suspect non-*nix systems don’t handle very well.   
      
   > I'd implement caller with spawn(). I suppose that even on POSIX it   
   > is more idiomatic.   
      
   Do you mean posix_spawn(3)?   
      
      
   --- 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