Home | History | Annotate | Download | only in fd_interposing

Lines Matching defs:Errno

51 #include <errno.h>
260 // Templatized class that will save errno only if the "value" it is
262 // scope, it will restore errno if it was saved.
265 class Errno
268 // Save errno only if we are supposed to
269 Errno (int value) :
270 m_saved_errno ((value == INVALID) ? errno : 0),
275 // Restore errno only if we are supposed to
276 ~Errno()
279 errno = m_saved_errno;
282 // Accessor for the saved value of errno
294 typedef Errno<-1> InvalidFDErrno;
295 typedef Errno<-1> NegativeErrorErrno;
674 description_sp->printf("pid=%i: socket (domain = %i, type = %i, protocol = %i) => fd=%i errno = %i", pid, domain, type, protocol, fd, fd_errno.get_errno());
979 description_sp->printf("pid=%i: close (fd=%i) => %i errno = %i (%s))", pid, fd, err, err_errno.get_errno(), strerror(err_errno.get_errno()));
1025 description_sp->printf("pid=%i: close$NOCANCEL (fd=%i) => %i errno = %i (%s))", pid, fd, err, err_errno.get_errno(), strerror(err_errno.get_errno()));
1070 const int saved_errno = errno;
1078 errno = saved_errno;