![]() |
|||||
|
#include <unixem/unistd.h>
#include <unixem/unixem.h>
#include <stddef.h>
#include <sys/types.h>
Go to the source code of this file.
Defines | |
#define | _PC_LINK_MAX UNIXEM_PC_LINK_MAX |
#define | _PC_MAX_CANON UNIXEM_PC_MAX_CANON |
#define | _PC_MAX_INPUT UNIXEM_PC_MAX_INPUT |
#define | _PC_NAME_MAX UNIXEM_PC_NAME_MAX |
#define | _PC_PATH_MAX UNIXEM_PC_PATH_MAX |
#define | _PC_PIPE_BUF UNIXEM_PC_PIPE_BUF |
#define | _PC_CHOWN_RESTRICTED UNIXEM_PC_CHOWN_RESTRICTED |
#define | _PC_NO_TRUNC UNIXEM_PC_NO_TRUNC |
#define | _PC_VDISABLE UNIXEM_PC_VDISABLE |
#define | _PC_AIX_DISK_PARTITION UNIXEM_PC_AIX_DISK_PARTITION |
#define | _PC_AIX_DISK_SIZE UNIXEM_PC_AIX_DISK_SIZE |
#define | _PC_FILESIZEBITS UNIXEM_PC_FILESIZEBITS |
#define | _PC_SYNC_IO UNIXEM_PC_SYNC_IO |
Typedefs | |
typedef unixem_pid_t | pid_t |
Process identifier type. | |
typedef int | unixem_pid_t |
Process-identifier type. | |
Enumerations | |
enum | { UNIXEM_PC_LINK_MAX, UNIXEM_PC_MAX_CANON, UNIXEM_PC_MAX_INPUT, UNIXEM_PC_NAME_MAX, UNIXEM_PC_PATH_MAX, UNIXEM_PC_PIPE_BUF, UNIXEM_PC_CHOWN_RESTRICTED, UNIXEM_PC_NO_TRUNC, UNIXEM_PC_VDISABLE, UNIXEM_PC_AIX_DISK_PARTITION, UNIXEM_PC_AIX_DISK_SIZE, UNIXEM_PC_FILESIZEBITS, UNIXEM_PC_SYNC_IO } |
Functions | |
int | link (char const *originalFile, char const *linkName) |
Creates a hardlink. | |
int | unlink (char const *path) |
Unlinks a file or directory. | |
int | chdir (char const *dirName) |
Change the current working directory. | |
char * | getcwd (char *buffer, size_t max_len) |
Get the current working directory. | |
int | mkdir (char const *dirName, unsigned mode) |
Creates the given directory. | |
int | rmdir (char const *dirName) |
Removes the given directory. | |
int | close (int handle) |
Closes a file. | |
int | getpagesize (void) |
Returns the size, in bytes, of the page size. | |
long | pathconf (char const *path, int name) |
Provides access to various system limits not available at compile time. | |
char * | realpath (char const *path, char resolvedPath[]) |
Turns path into a fully qualified path, resolving all symbolic links, multiple /, /. | |
int | usleep (unsigned long microSeconds) |
Suspends execution for the given internal. | |
pid_t | getpid (void) |
Returns the current process identifier. | |
int | gethostname (char *name, size_t cchName) |
Returns the host name for the current machine. | |
int | unixem_link (char const *originalFile, char const *linkName) |
Creates a hardlink. | |
int | unixem_unlink (char const *path) |
Unlinks a file or directory. | |
int | unixem_chdir (char const *dirName) |
Change the current working directory. | |
char * | unixem_getcwd (char *buffer, size_t max_len) |
Get the current working directory. | |
int | unixem_mkdir (char const *dirName, unsigned mode) |
Creates the given directory. | |
int | unixem_rmdir (char const *dirName) |
Removes the given directory. | |
int | unixem_close (int handle) |
Closes a file. | |
int | unixem_getpagesize (void) |
Returns the size, in bytes, of the page size. | |
long | unixem_pathconf (char const *path, int name) |
Provides access to various system limits not available at compile time. | |
char * | unixem_realpath (char const *path, char resolvedPath[]) |
Turns path into a fully qualified path, resolving all symbolic links, multiple /, /. | |
int | unixem_usleep (unsigned long microSeconds) |
Suspends execution for the given internal. | |
unixem_pid_t | unixem_getpid (void) |
Returns the current process identifier. | |
int __stdcall | unixem_gethostname (char *name, size_t cchName) |
Returns the host name for the current machine. |
|
UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2010 |