> Was mir auffällt: Es gibt da nirgends die fstat()-Funktion.

1> cat foo.c
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>

int main (int ac, char **av)
{
  struct stat buf;
  int fd = open (av[0],O_RDONLY);
  if (fd != -1) { printf ("%s %d\n", av[0], fstat (fd, &buf)); }
  close (fd);
  return 0;
}
1> gcc foo.c
1> ./a.out
./a.out 0

-- 
"i'm working on it"
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an [EMAIL PROTECTED] die im Body
"unsubscribe debian-user-de <your_email_address>"
enthaelt.
Bei Problemen bitte eine Mail an: [EMAIL PROTECTED]
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     495

Antwort per Email an