X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ffailtest%2Ffailtest_proto.h;h=d4967a3e51f8573d3136a9ed9f7ecd0c2f006d0a;hp=89a1e77f6e2fd9e024d3ff1831d4bf898ecca847;hb=1a0c636bc38213bd0322db47529f78f2dc22ffdd;hpb=c96ab569e73791eabe62e8d1c88b913e89eddc49 diff --git a/ccan/failtest/failtest_proto.h b/ccan/failtest/failtest_proto.h index 89a1e77f..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 @@ -22,4 +23,5 @@ 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, 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 */