hi all.
I m unable to undersatnd how system calls implemented in glibc (ver
2.1.3).
for example __libc_system function (defined in system.c) have these
lines
#include <errno.h>
#include <stdlib.h>
/* Execute LINE as a shell command. */
int
__libc_system (line)
const char *line;
{
if (line == NULL)
return 0; /* This indicates no command processor. */
__sys_errno (ENOSYS);
return -1;
}
weak_alias (__libc_system, system)
stub_warning (system)
#include <stub-tag.h>
can some one give me hand in understanding this?
thanks in advance.