/usr/include/eaf.h is in libglobalarrays-dev 5.4~beta~r10636+dfsg-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #ifndef EAF_H
#define EAF_H
#if 0
/* This section used by both C and Fortran */
#endif
#define EAF_RW -1
#define EAF_W -2
#define EAF_R -3
#ifndef EAF_FORTRAN
/* This section used by only C */
/* This to ensure size_t is defined */
#include <stdio.h>
#include <sys/types.h>
typedef double eaf_off_t;
int EAF_Aread(int fd, eaf_off_t offset, void *buf, size_t bytes, int *req_id);
int EAF_Awrite(int fd, eaf_off_t offset, const void *buf, size_t bytes, int *req_id);
int EAF_Close(int fd);
int EAF_Delete(const char *fname);
int EAF_Eof(int code);
void EAF_Errmsg(int code, char *msg);
int EAF_Length(int fd, eaf_off_t *length);
int EAF_Length(int fd, eaf_off_t *length);
int EAF_Open(const char *fname, int type, int *fd);
void EAF_Print_stats(int fd);
int EAF_Probe(int id, int *status);
int EAF_Read(int fd, eaf_off_t offset, void *buf, size_t bytes);
int EAF_Stat(const char *path, long *avail_kb, char *fstype, int fslen);
int EAF_Truncate(int fd, eaf_off_t length);
int EAF_Wait(int fd, int id);
int EAF_Write(int fd, eaf_off_t offset, const void *buf, size_t bytes);
#endif
#endif
|