X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Flibc.h;h=c83fcafe456953b8ddd88ada9ae515ff658396e6;hb=3bb00f45799ae6df48c2a00496ee57b42f7d2621;hp=3d09bf6aba35bfe1d0c0d00df5783dd6b13beb0a;hpb=5eb0d33ec0f08b123c5c10877d6258d05fa9453a;p=musl diff --git a/src/internal/libc.h b/src/internal/libc.h index 3d09bf6a..c83fcafe 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -18,6 +18,7 @@ struct __libc { FILE *ofl_head; int ofl_lock; void (*lockfile)(FILE *); + void (*sigtimer)(); }; @@ -44,7 +45,8 @@ void __lockfile(FILE *); #define UNLOCK(x) (*(x)=0) #define CANCELPT(x) (libc.cancelpt ? libc.cancelpt((x)),0 : (void)(x),0) #define CANCELPT_BEGIN CANCELPT(1) -#define CANCELPT_END CANCELPT(0) +#define CANCELPT_TRY CANCELPT(0) +#define CANCELPT_END CANCELPT(-1) extern char **__environ; #define environ __environ