|
|||||||||||
|
(no subject)
From: John D. <lists(at)webcrunchers.com>
Date: Mon Dec 02 2002 - 20:57:00 EST
Also, out of curiosity, the exec{l*,v*} commands don't seem to return to the calling program, but instead exit directly back to the OS. This seems strange. Using OpenBSD 3.2 with gcc, if anyone cares. */
/*Demonstrates how execl() never returns!*/
int main(void) {
printf("Good file listing:\n");
execl("/bin/ls","ls",0);
printf("never gets here!\n");
} Received on Mon Dec 2 20:59:21 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:31:50 EDT |
||||||||||
|
|||||||||||