Sha256: 2ca7dd25d82b9fa004a7ac28f9c388640eaee48408429a81b61db642ab3baee3

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

/*
 * File:  usystem.h
 * Copyright (C) 2008 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
 */

#ifndef _USYSTEM_H
#define _USYSTEM_H

#include "common/u/u.h"


#ifdef _WIN32

typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS) (HANDLE, PBOOL);

typedef struct {
    char sysname[128];
    char release[128];
    char version[128];
    char machine[128];
} U_UTSNAME;

#else

#include <sys/utsname.h>
typedef struct utsname U_UTSNAME;

#endif /* _WIN32 */


#ifdef __cplusplus
extern "C"
{
#endif

/* returns 0 if succeeded
   returns 1 if failed */
    int uUname(U_UTSNAME* s, sys_call_error_fun fun);


#ifdef __cplusplus
}
#endif


#endif /* _USYSTEM_H */

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sedna-0.6.0 vendor/sedna/kernel/common/u/usystem.h