/usr/include/sp/ErrnoMessageArg.h is in libsp1-dev 1.3.4-1.2.1-47.3ubuntu1.
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 | // Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef ErrnoMessageArg_INCLUDED
#define ErrnoMessageArg_INCLUDED 1
#include "MessageArg.h"
#include "rtti.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class SP_API ErrnoMessageArg : public OtherMessageArg {
RTTI_CLASS
public:
ErrnoMessageArg(int errnum) : errno_(errnum) { }
MessageArg *copy() const;
// errno might be a macro so we must use a different name
int errnum() const;
private:
int errno_;
};
inline
int ErrnoMessageArg::errnum() const
{
return errno_;
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not ErrnoMessageArg_INCLUDED */
|