A
This commit is contained in:
10
DEV1.1/CM2/mesure.c
Normal file
10
DEV1.1/CM2/mesure.c
Normal file
@@ -0,0 +1,10 @@
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
# include <sys/stat.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
struct stat a;
|
||||
stat(argv[1], &a);
|
||||
printf("%jd octets\n", a.st_size);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Reference in New Issue
Block a user