/usr/include/dpm/rfio_errno.h is in libdpm-dev 1.8.7-3.1+b1.
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 41 42 43 44 45 46 47 48 49 50 | /*
* $Id: rfio_errno.h,v 1.1 2005/03/31 15:06:46 baud Exp $
*/
/*
* Copyright (C) 1990-2001 by CERN/IT/PDP/DM
* All rights reserved
*/
/*
* $RCSfile: rfio_errno.h,v $ $Revision: 1.1 $ $Date: 2005/03/31 15:06:46 $
*/
/* rfio_errno.h Thread safe rfio_errno */
#ifndef _RFIO_ERRNO_H_INCLUDED_
#define _RFIO_ERRNO_H_INCLUDED_
#ifndef _OSDEP_H_INCLUDED_
#include <osdep.h> /* EXTERN_C, DLL_DECL and _PROTO */
#endif
#include <stddef.h> /* For size_t */
#if defined(_REENTRANT) || defined(_THREAD_SAFE) || \
(defined(_WIN32) && (defined(_MT) || defined(_DLL)))
/*
* Multi-thread (MT) environment
*/
EXTERN_C int DLL_DECL *C__rfio_errno _PROTO((void));
/*
* Thread safe rfio_errno. Note, C__rfio_errno is defined in Cglobals.c rather
* than rfio/error.c .
*/
#define rfio_errno (*C__rfio_errno())
#else /* _REENTRANT || _THREAD_SAFE ... */
/*
* non-MT environment
*/
extern int rfio_errno; /* Global error number */
#endif /* _REENTRANT || _TREAD_SAFE */
EXTERN_C char DLL_DECL *rfio_errmsg_r _PROTO((int, int, char*, size_t));
EXTERN_C char DLL_DECL *rfio_errmsg _PROTO((int, int));
EXTERN_C char DLL_DECL *rfio_serror_r _PROTO((char*, size_t));
EXTERN_C char DLL_DECL *rfio_serror _PROTO((void));
EXTERN_C void DLL_DECL rfio_perror _PROTO((char *));
#endif /* _RFIO_ERRNO_H_INCLUDED_ */
|