#include <fcntl.h>
#include <limits.h>
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <unistd.h>
Go to the source code of this file.
◆ _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200112L |
◆ ARRAY_SIZE
#define ARRAY_SIZE |
( |
|
x | ) |
(int)(sizeof(x) / sizeof((x)[0])) |
◆ JOIN
◆ JOIN_AGAIN
#define JOIN_AGAIN |
( |
|
_a, |
|
|
|
_b |
|
) |
| _a##_b |
◆ getHostAppDir()
size_t getHostAppDir |
( |
char * |
path, |
|
|
size_t |
bufSize |
|
) |
| |
Get directory where application is executing from.
- Parameters
-
path | Receives directory path, including trailing path separator |
bufSize | |
- Return values
-
size_t | Number of characters written, excluding NUL |
◆ msleep()