hi
this simple program
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
main() {
pid_t pid;
pid = fork();
if (pid == 0)
execl("/bin/ls", NULL);
}
works differently on fbsd and on linux. on fbsd it basically ls each record in
ENV on linux it executes ls listing all files in cwd.
can someone explain me why?
thnx
roman