/usr/include/dclib-0.3/dclib/dcos.h is in libdc-dev 0.3.24~svn3121-2.
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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | /***************************************************************************
dcos.h - description
-------------------
begin : Sat Oct 6 2001
copyright : (C) 2001-2005 by Mathias Küster
email : mathen@users.berlios.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef _OS_H_
#define _OS_H_
/* 24 in decimal is 18 in hex */
#define DCLIB_VERSION 0x000318
#define DCLIB_VERSION_STRING "0.3.24svn"
#ifdef WIN32
#include <windows.h>
#include <wtypes.h>
#include <io.h>
#include <direct.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef _DEBUG
#ifndef _CRTDBG_MAP_ALLOC
#define _CRTDBG_MAP_ALLOC
#endif
#include <stdlib.h>
#include <crtdbg.h>
#else
#include <malloc.h>
#endif
/* same as QT4 qint64 / quint64, non gcc untested */
#if defined(_MSC_VER)
typedef __int64 longlong;
typedef unsigned __int64 ulonglong;
#else
typedef long long longlong;
typedef unsigned long long ulonglong;
#endif
#define F_OK 0
#define R_OK 4
#define W_OK 2
#define RW_OK 6
#define DIRSEPARATOR '\\'
#else /* !WIN32 */
typedef unsigned long long ulonglong;
#define DIRSEPARATOR '/'
#endif
#ifndef SOCKET
#define SOCKET int
#endif
#ifndef INVALID_SOCKET
#define INVALID_SOCKET -1
#endif
#ifndef SOCKET_ERROR
#define SOCKET_ERROR -1
#endif
/* stdint.h using exact width types is going to replace ulonglong */
#include <stdint.h>
#endif
|