- or download this
#define _GNU_SOURCE
#include <dirent.h> /* Defines DT_* constants */
...
exit(EXIT_SUCCESS);
}
- or download this
struct linux_dirent {
unsigned long d_ino; /* Inode number 32*/
...
/* length is actually (d_reclen - 2 -
offsetof(struct linux_dirent, d_name)) */
}
- or download this
#!/usr/bin/env perl
use warnings;
...
close($fd);
my $data = $converter->unpack( 'foo', $buf );
print Dumper($data);
- or download this
#!/usr/bin/env perl
use warnings;
...
}
close($fd);