Update ecllib from statoil master repo commit 0188b08081eb1ac4ade89ac224b8128b4c9b0481

This commit is contained in:
Bjørn Erik Jensen
2018-05-04 14:24:53 +02:00
parent 89930e15f7
commit d2e48ef153
511 changed files with 3901 additions and 42023 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#define NCHAR 63
int main(int argc, char *argv[])
{
char linkname[NCHAR + 1] = { 0 };
ssize_t r;
r = (argc < 2) ? -1
: readlinkat(1, argv[1], linkname, NCHAR);
return (r > 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}