Synesis Software

include/unistd.h File Reference

Contains standard limits and declarations. More...

#include <stddef.h>
#include <sys/types.h>

Go to the source code of this file.

Defines

#define _PC_LINK_MAX   _PC_LINK_MAX
#define _PC_MAX_CANON   _PC_MAX_CANON
#define _PC_MAX_INPUT   _PC_MAX_INPUT
#define _PC_NAME_MAX   _PC_NAME_MAX
#define _PC_PATH_MAX   _PC_PATH_MAX
#define _PC_PIPE_BUF   _PC_PIPE_BUF
#define _PC_CHOWN_RESTRICTED   _PC_CHOWN_RESTRICTED
#define _PC_NO_TRUNC   _PC_NO_TRUNC
#define _PC_VDISABLE   _PC_VDISABLE
#define _PC_AIX_DISK_PARTITION   _PC_AIX_DISK_PARTITION
#define _PC_AIX_DISK_SIZE   _PC_AIX_DISK_SIZE
#define _PC_FILESIZEBITS   _PC_FILESIZEBITS
#define _PC_SYNC_IO   _PC_SYNC_IO

Enumerations

enum  {
  _PC_LINK_MAX,
  _PC_MAX_CANON,
  _PC_MAX_INPUT,
  _PC_NAME_MAX,
  _PC_PATH_MAX,
  _PC_PIPE_BUF,
  _PC_CHOWN_RESTRICTED,
  _PC_NO_TRUNC,
  _PC_VDISABLE,
  _PC_AIX_DISK_PARTITION,
  _PC_AIX_DISK_SIZE,
  _PC_FILESIZEBITS,
  _PC_SYNC_IO
}

Functions

int link (const char *originalFile, const char *linkName)
 Creates a hardlink.
int unlink (const char *path)
 Unlinks a file or directory.
int chdir (const char *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 /, /.
int usleep (unsigned long microSeconds)
 Suspends execution for the given internal.


Detailed Description

Contains standard limits and declarations.


Define Documentation

#define _PC_AIX_DISK_PARTITION   _PC_AIX_DISK_PARTITION

#define _PC_AIX_DISK_SIZE   _PC_AIX_DISK_SIZE

#define _PC_CHOWN_RESTRICTED   _PC_CHOWN_RESTRICTED

#define _PC_FILESIZEBITS   _PC_FILESIZEBITS

#define _PC_LINK_MAX   _PC_LINK_MAX

#define _PC_MAX_CANON   _PC_MAX_CANON

#define _PC_MAX_INPUT   _PC_MAX_INPUT

#define _PC_NAME_MAX   _PC_NAME_MAX

#define _PC_NO_TRUNC   _PC_NO_TRUNC

#define _PC_PATH_MAX   _PC_PATH_MAX

#define _PC_PIPE_BUF   _PC_PIPE_BUF

#define _PC_SYNC_IO   _PC_SYNC_IO

#define _PC_VDISABLE   _PC_VDISABLE


UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2005