/usr/include/skalibs/error.h is in skalibs-dev 0.47-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | /* Public domain. */
#ifndef ERROR_H
#define ERROR_H
#include <errno.h>
#include "gccattributes.h"
extern int error_ok gccattr_deprecated ;
extern int error_intr gccattr_deprecated ;
extern int error_nomem gccattr_deprecated ;
extern int error_noent gccattr_deprecated ;
extern int error_txtbsy gccattr_deprecated ;
extern int error_io gccattr_deprecated ;
extern int error_exist gccattr_deprecated ;
extern int error_timeout gccattr_deprecated ;
extern int error_inprogress gccattr_deprecated ;
extern int error_wouldblock gccattr_deprecated ;
extern int error_again gccattr_deprecated ;
extern int error_pipe gccattr_deprecated ;
extern int error_perm gccattr_deprecated ;
extern int error_acces gccattr_deprecated ;
extern int error_nodevice gccattr_deprecated ;
extern int error_proto gccattr_deprecated ;
extern int error_isdir gccattr_deprecated ;
extern int error_connrefused gccattr_deprecated ;
extern int error_notdir gccattr_deprecated ;
extern int error_badf gccattr_deprecated ;
extern int error_notsock gccattr_deprecated ;
extern int error_inval gccattr_deprecated ;
extern int error_dom gccattr_deprecated ;
extern int error_nobufs gccattr_deprecated ;
extern char const *error_str (int) gccattr_const ;
extern int error_temp (int) gccattr_const ;
#define error_isagain(e) (((e) == EAGAIN) || ((e) == EWOULDBLOCK))
#define error_isalready(e) (((e) == EALREADY) || ((e) == EINPROGRESS))
#endif
|