1 /*$Id: robust.h,v 1.13 2001/06/21 09:43:53 guenther Exp $*/
2 
3 void
4  nomemerr Q((const size_t len))	 __attribute__((noreturn)),
5  *tmalloc Q((const size_t len)),
6  *trealloc Q((void*const old,const size_t len)),
7  *fmalloc Q((const size_t len)),
8  *frealloc Q((void*const old,const size_t len)),
9  tfree P((void*const p)),
10  opnlog P((const char*file)),
11  ssleep P((const unsigned seconds)),
12  doumask Q((const mode_t mask));
13 pid_t
14  sfork P((void));
15 int
16  opena P((const char*const a)),
17  ropen Q((const char*const name,const mode,const mode_t mask)),
18  rpipe P((int fd[2])),
19  rdup P((const int p)),
20  rclose P((const int fd)),
21  rread P((const int fd,void*const a,const int len)),
22  rwrite P((const int fd,const void*const a,const int len));
23 
24 extern mode_t cumask;
25