![]() |
|||||
|
#include <unixem/unixem.h>
#include <unixem/internal/util.h>
#include <windows.h>
#include <errno.h>
#include <limits.h>
#include "unistd.h"
Defines | |
#define | FILE_ATTRIBUTE_ERROR (0xFFFFFFFF) |
#define | _MAX_FNAME (256) |
#define | _MAX_PATH (260) |
Functions | |
int | link (const char *originalFile, const char *linkName) |
Creates a hardlink. | |
int | unlink (const char *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 (const char *dirName, unsigned mode) |
Creates the given directory. | |
int | rmdir (const char *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 /, /./ and /../. |
|
|
|
|
|
|
|
Change the current working directory. This function changes the current working directory to the directory specified by dirName. dirName must refer to an existing directory.
|
|
Closes a file.
|
|
Get the current working directory. This function gets the full path of the current working directory and stores it in buffer.
|
|
Returns the size, in bytes, of the page size.
|
|
Creates a hardlink.
This function creates a link from
|
|
Creates the given directory. This function creates the named directory.
|
|
Provides access to various system limits not available at compile time.
|
|
Turns
|
|
Removes the given directory. This function removes the named directory.
|
|
Unlinks a file or directory.
|
|
UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2005 |