Back to index

glibc  2.9
Defines | Functions
not-cancel.h File Reference
#include <sys/types.h>
#include <sysdep.h>

Go to the source code of this file.

Defines

#define open_not_cancel(name, flags, mode)   INLINE_SYSCALL (open, 3, (const char *) (name), (flags), (mode))
#define open_not_cancel_2(name, flags)   INLINE_SYSCALL (open, 2, (const char *) (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)   INLINE_SYSCALL (close, 1, fd)
#define close_not_cancel_no_status(fd)
#define read_not_cancel(fd, buf, n)   INLINE_SYSCALL (read, 3, (fd), (buf), (n))
#define write_not_cancel(fd, buf, n)   INLINE_SYSCALL (write, 3, (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 __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)    INLINE_SYSCALL (close, 1, fd)

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

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

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

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

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

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

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

#define open_not_cancel (   name,
  flags,
  mode 
)    INLINE_SYSCALL (open, 3, (const char *) (name), (flags), (mode))

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

#define open_not_cancel_2 (   name,
  flags 
)    INLINE_SYSCALL (open, 2, (const char *) (name), (flags))

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

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

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

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

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

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

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

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

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

#define pause_not_cancel ( )    __pause_nocancel ()

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

#define read_not_cancel (   fd,
  buf,
  n 
)    INLINE_SYSCALL (read, 3, (fd), (buf), (n))

Definition at line 60 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 81 of file not-cancel.h.

#define write_not_cancel (   fd,
  buf,
  n 
)    INLINE_SYSCALL (write, 3, (fd), (buf), (n))

Definition at line 64 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 68 of file not-cancel.h.


Function Documentation

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 
)