#include <fcntl.h>
#include <stdio.h>
#include "gfal_api.h"
Go to the source code of this file.
Functions | |
main (int argc, char **argv) |
|
Definition at line 13 of file gfal_testunlink.c. References gfal_unlink(). 00014 { 00015 struct stat statbuf; 00016 00017 if (argc != 2) { 00018 fprintf (stderr, "usage: %s filename\n", argv[0]); 00019 exit (1); 00020 } 00021 if (gfal_unlink (argv[1]) < 0) { 00022 perror ("gfal_unlink"); 00023 exit (1); 00024 } 00025 exit (0); 00026 }
|