• Home
  • Raw
  • Download

Lines Matching refs:rval

61 	int rval;  in safe_dup()  local
63 rval = dup(oldfd); in safe_dup()
64 if (rval == -1) { in safe_dup()
69 return rval; in safe_dup()
243 void *rval; in safe_mmap() local
245 rval = mmap(addr, length, prot, flags, fd, offset); in safe_mmap()
246 if (rval == MAP_FAILED) { in safe_mmap()
252 return rval; in safe_mmap()
261 int rval; in safe_ftruncate() local
263 rval = ftruncate(fd, length); in safe_ftruncate()
264 if (rval == -1) { in safe_ftruncate()
270 return rval; in safe_ftruncate()
278 int rval; in safe_truncate() local
280 rval = truncate(path, length); in safe_truncate()
281 if (rval == -1) { in safe_truncate()
287 return rval; in safe_truncate()
295 int rval; in safe_stat() local
297 rval = stat(path, buf); in safe_stat()
299 if (rval == -1) { in safe_stat()
304 return rval; in safe_stat()
312 int rval; in safe_fstat() local
314 rval = fstat(fd, buf); in safe_fstat()
316 if (rval == -1) { in safe_fstat()
321 return rval; in safe_fstat()
329 int rval; in safe_lstat() local
331 rval = lstat(path, buf); in safe_lstat()
333 if (rval == -1) { in safe_lstat()
338 return rval; in safe_lstat()
346 off_t rval; in safe_lseek() local
348 rval = lseek(fd, offset, whence); in safe_lseek()
350 if (rval == (off_t) -1) { in safe_lseek()
356 return rval; in safe_lseek()
364 int rval; in safe_getrlimit() local
366 rval = getrlimit(resource, rlim); in safe_getrlimit()
368 if (rval == -1) { in safe_getrlimit()
374 return rval; in safe_getrlimit()
382 int rval; in safe_setrlimit() local
384 rval = setrlimit(resource, rlim); in safe_setrlimit()
386 if (rval == -1) { in safe_setrlimit()
392 return rval; in safe_setrlimit()
401 sighandler_t rval; in safe_signal() local
403 rval = signal(signum, handler); in safe_signal()
405 if (rval == SIG_ERR) { in safe_signal()
411 return rval; in safe_signal()