![]() |
|||||
|
#include <unixem/unixem.h>
Go to the source code of this file.
Defines | |
#define | NUM_ELEMENTS(ar) (sizeof(ar) / sizeof(0[ar])) |
Evaluates the size of an array. | |
#define | UNIXEM_STGCLS_IMP |
Storage class specifier, defined as appropriate to the given compiler. | |
Functions | |
void * | unixem_internal_Windows_HANDLE_from_file_handle (int fd) |
Converts a standard file handle to a Windows HANDLE. | |
int | unixem_internal_errno_from_Win32 (unsigned long) |
Converts a Windows error code to an errno. | |
char | unixem_internal_get_current_drive (void) |
Gets the drive letter of the current working directory. | |
long | unixem_internal_FILETIMEToUNIXTime (void const *ft, long *microseconds) |
Converts a Windows FILETIME value to a UNIX time value. |
#define NUM_ELEMENTS | ( | ar | ) | (sizeof(ar) / sizeof(0[ar])) |
Evaluates the size of an array.
ar | The array. |
Referenced by unixem_glob(), unixem_internal_errno_from_Win32(), and unixem_internal_get_current_drive().
#define UNIXEM_STGCLS_IMP |
Storage class specifier, defined as appropriate to the given compiler.
int unixem_internal_errno_from_Win32 | ( | unsigned | long | ) |
Converts a Windows error code to an errno.
References NUM_ELEMENTS, and unixem_internal_errno_from_Win32().
Referenced by unixem_chdir(), unixem_getcwd(), unixem_gethostname(), unixem_getrusage(), unixem_internal_errno_from_Win32(), unixem_internal_get_current_drive(), unixem_link(), unixem_mkdir(), unixem_readv(), unixem_realpath(), unixem_rmdir(), unixem_unlink(), and unixem_writev().
long unixem_internal_FILETIMEToUNIXTime | ( | void const * | ft, | |
long * | microseconds | |||
) |
char unixem_internal_get_current_drive | ( | void | ) |
Gets the drive letter of the current working directory.
Either | an uppercase letter, or '\0' on failure; |
References NUM_ELEMENTS, unixem_internal_errno_from_Win32(), and unixem_internal_get_current_drive().
Referenced by unixem_internal_get_current_drive(), and unixem_link().
void* unixem_internal_Windows_HANDLE_from_file_handle | ( | int | fd | ) |
Converts a standard file handle to a Windows HANDLE.
References unixem_internal_Windows_HANDLE_from_file_handle().
Referenced by unixem_internal_Windows_HANDLE_from_file_handle(), unixem_mmap(), unixem_readv(), and unixem_writev().
|
UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2010 |