X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ffailtest%2Ffailtest_proto.h;h=d4967a3e51f8573d3136a9ed9f7ecd0c2f006d0a;hb=74257cee33ae3033f961d5f22a0313b8cb1b18d4;hp=58337301ee223858ba903210ef586cd4c505c832;hpb=e8f0484b7808efe03dbb573563b336d533487e29;p=ccan diff --git a/ccan/failtest/failtest_proto.h b/ccan/failtest/failtest_proto.h index 58337301..d4967a3e 100644 --- a/ccan/failtest/failtest_proto.h +++ b/ccan/failtest/failtest_proto.h @@ -1,3 +1,4 @@ +/* Licensed under LGPL - see LICENSE file for details */ #ifndef CCAN_FAILTEST_PROTO_H #define CCAN_FAILTEST_PROTO_H #include @@ -20,6 +21,7 @@ ssize_t failtest_pread(int fd, void *buf, size_t count, off_t offset, const char *file, unsigned line); ssize_t failtest_pwrite(int fd, const void *buf, size_t count, off_t offset, const char *file, unsigned line); -int failtest_close(int fd); +int failtest_close(int fd, const char *file, unsigned line); int failtest_fcntl(int fd, const char *file, unsigned line, int cmd, ...); +pid_t failtest_getpid(const char *file, unsigned line); #endif /* CCAN_FAILTEST_PROTO_H */