Back to index

glibc  2.9
Defines | Functions
not-cancel.h File Reference
#include <sysdep.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define open_not_cancel(name, flags, mode)   __open_nocancel (name, flags, mode)
#define open_not_cancel_2(name, flags)   __open_nocancel (name, flags)
#define openat_not_cancel(fd, fname, oflag, mode)   __openat_nocancel (fd, fname, oflag, mode)
#define openat_not_cancel_3(fd, fname, oflag)   __openat_nocancel (fd, fname, oflag, 0)
#define openat64_not_cancel(fd, fname, oflag, mode)   __openat64_nocancel (fd, fname, oflag, mode)
#define openat64_not_cancel_3(fd, fname, oflag)   __openat64_nocancel (fd, fname, oflag, 0)
#define close_not_cancel(fd)   __close_nocancel (fd)
#define close_not_cancel_no_status(fd)
#define read_not_cancel(fd, buf, n)   __read_nocancel (fd, buf, n)
#define write_not_cancel(fd, buf, n)   __write_nocancel (fd, buf, n)
#define writev_not_cancel_no_status(fd, iov, n)
#define fcntl_not_cancel(fd, cmd, val)   __fcntl_nocancel (fd, cmd, val)
#define waitpid_not_cancel(pid, stat_loc, options)   INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL)
#define pause_not_cancel()   __pause_nocancel ()
#define nanosleep_not_cancel(requested_time, remaining)   __nanosleep_nocancel (requested_time, remaining)
#define sigsuspend_not_cancel(set)   __sigsuspend_nocancel (set)

Functions

int __open_nocancel (const char *, int,...) attribute_hidden
int __close_nocancel (int) attribute_hidden
int __read_nocancel (int, void *, size_t) attribute_hidden
int __write_nocancel (int, const void *, size_t) attribute_hidden
pid_t __waitpid_nocancel (pid_t, int *, int) attribute_hidden
int __openat_nocancel (int fd, const char *fname, int oflag, mode_t mode) attribute_hidden
int __openat64_nocancel (int fd, const char *fname, int oflag, mode_t mode) attribute_hidden

Define Documentation

#define close_not_cancel (   fd)    __close_nocancel (fd)

Definition at line 63 of file not-cancel.h.

Value:
(void) ({ INTERNAL_SYSCALL_DECL (err);                               \
           INTERNAL_SYSCALL (close, err, 1, (fd)); })

Definition at line 65 of file not-cancel.h.

#define fcntl_not_cancel (   fd,
  cmd,
  val 
)    __fcntl_nocancel (fd, cmd, val)

Definition at line 83 of file not-cancel.h.

#define nanosleep_not_cancel (   requested_time,
  remaining 
)    __nanosleep_nocancel (requested_time, remaining)

Definition at line 100 of file not-cancel.h.

#define open_not_cancel (   name,
  flags,
  mode 
)    __open_nocancel (name, flags, mode)

Definition at line 47 of file not-cancel.h.

#define open_not_cancel_2 (   name,
  flags 
)    __open_nocancel (name, flags)

Definition at line 49 of file not-cancel.h.

#define openat64_not_cancel (   fd,
  fname,
  oflag,
  mode 
)    __openat64_nocancel (fd, fname, oflag, mode)

Definition at line 57 of file not-cancel.h.

#define openat64_not_cancel_3 (   fd,
  fname,
  oflag 
)    __openat64_nocancel (fd, fname, oflag, 0)

Definition at line 59 of file not-cancel.h.

#define openat_not_cancel (   fd,
  fname,
  oflag,
  mode 
)    __openat_nocancel (fd, fname, oflag, mode)

Definition at line 53 of file not-cancel.h.

#define openat_not_cancel_3 (   fd,
  fname,
  oflag 
)    __openat_nocancel (fd, fname, oflag, 0)

Definition at line 55 of file not-cancel.h.

#define pause_not_cancel ( )    __pause_nocancel ()

Definition at line 96 of file not-cancel.h.

#define read_not_cancel (   fd,
  buf,
  n 
)    __read_nocancel (fd, buf, n)

Definition at line 70 of file not-cancel.h.

#define sigsuspend_not_cancel (   set)    __sigsuspend_nocancel (set)

Definition at line 104 of file not-cancel.h.

#define waitpid_not_cancel (   pid,
  stat_loc,
  options 
)    INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL)

Definition at line 91 of file not-cancel.h.

#define write_not_cancel (   fd,
  buf,
  n 
)    __write_nocancel (fd, buf, n)

Definition at line 74 of file not-cancel.h.

#define writev_not_cancel_no_status (   fd,
  iov,
  n 
)
Value:
(void) ({ INTERNAL_SYSCALL_DECL (err);                               \
           INTERNAL_SYSCALL (writev, err, 3, (fd), (iov), (n)); })

Definition at line 78 of file not-cancel.h.


Function Documentation

int __open_nocancel ( const char *  ,
int  ,
  ... 
)
int __openat64_nocancel ( int  fd,
const char *  fname,
int  oflag,
mode_t  mode 
)
int __openat_nocancel ( int  fd,
const char *  fname,
int  oflag,
mode_t  mode 
)
int __read_nocancel ( int  ,
void *  ,
size_t   
)
pid_t __waitpid_nocancel ( pid_t  ,
int ,
int   
)
int __write_nocancel ( int  ,
const void *  ,
size_t   
)