#include <sys/types.h>
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "OSUtil.h"
#include <include/linux_info.h>
Go to the source code of this file.
◆ __USE_XOPEN_EXTENDED
#define __USE_XOPEN_EXTENDED |
◆ KERNEL_NAME_FORMAT
#define KERNEL_NAME_FORMAT "%s." HOSTID_FORMAT |
◆ OSUtil_hostid_fail
#define OSUtil_hostid_fail (0x0bad1d); |
◆ OSUtil_hostid_NULL
#define OSUtil_hostid_NULL (-1) |
◆ hostid_fpe_handler()
static void hostid_fpe_handler |
( |
int |
sig | ) |
|
|
static |
◆ OSUtil_hostid()
◆ OSUtil_jobid()
const char* OSUtil_jobid |
( |
| ) |
|
◆ OSUtil_pid()
◆ OSUtil_setCustomKernelName()
int OSUtil_setCustomKernelName |
( |
char * |
buffer, |
|
|
size_t |
max_chars |
|
) |
| |
◆ OSUtil_setCustomKernelNameWrap()
int OSUtil_setCustomKernelNameWrap |
( |
char * |
buffer, |
|
|
size_t |
max_chars |
|
) |
| |
◆ hostid_jbuf
◆ hostid_jbuf_active