purely cosmetic commit: edited the introductory comments of several files to uniform them to a common format, added $Id$ macro to all files, cleanup from legacy stuff, fully commented templates

svn path=/trunk/; revision=2636
This commit is contained in:
KJK::Hyperion 2002-02-20 09:17:58 +00:00
parent e858ec1801
commit 19ad3d7a30
106 changed files with 938 additions and 321 deletions

View file

@ -1,8 +1,10 @@
/* $Id: aio.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* aio.h * aio.h
* *
* asynchronous input and output (REALTIME). Based on the Single UNIX(r) * asynchronous input and output (REALTIME). Conforming to the Single UNIX(r)
* Specification, Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -23,37 +25,27 @@
#ifndef __AIO_H_INCLUDED__ #ifndef __AIO_H_INCLUDED__
#define __AIO_H_INCLUDED__ #define __AIO_H_INCLUDED__
#ifdef __PSXDLL__ /* INCLUDES */
/* headers for internal usage by psxdll.dll and ReactOS */
#include <psxdll/fcntl.h>
#include <psxdll/signal.h>
#include <psxdll/sys/types.h>
#include <psxdll/time.h>
#else /* ! __PSXDLL__ */
/* standard POSIX headers */
#include <fcntl.h> #include <fcntl.h>
#include <signal.h> #include <signal.h>
#include <sys/types.h> #include <sys/types.h>
#include <time.h> #include <time.h>
#endif /* OBJECTS */
/* types */ /* TYPES */
typedef struct _tag_aiocb typedef struct _tag_aiocb
{ {
int aio_fildes /* file descriptor */ int aio_fildes; /* file descriptor */
off_t aio_offset /* file offset */ off_t aio_offset; /* file offset */
volatile void* aio_buf /* location of buffer volatile void* aio_buf; /* location of buffer */
size_t aio_nbytes /* length of transfer */ size_t aio_nbytes; /* length of transfer */
int aio_reqprio /* request priority offset */ int aio_reqprio; /* request priority offset */
struct sigevent aio_sigevent /* signal number and value */ struct sigevent aio_sigevent; /* signal number and value */
int aio_lio_opcode /* operation to be performed */ int aio_lio_opcode; /* operation to be performed */
} aiocb; } aiocb;
/* constants */ /* CONSTANTS */
#define AIO_CANCELED 0 #define AIO_CANCELED 0
#define AIO_NOTCANCELED 1 #define AIO_NOTCANCELED 1
#define AIO_ALLDONE 2 #define AIO_ALLDONE 2
@ -64,7 +56,7 @@ typedef struct _tag_aiocb
#define LIO_WRITE 3 #define LIO_WRITE 3
#define LIO_NOP 4 #define LIO_NOP 4
/* prototypes */ /* PROTOTYPES */
int aio_cancel(int, struct aiocb *); int aio_cancel(int, struct aiocb *);
int aio_error(const struct aiocb *); int aio_error(const struct aiocb *);
int aio_fsync(int, struct aiocb *); int aio_fsync(int, struct aiocb *);
@ -74,6 +66,8 @@ int aio_suspend(const struct aiocb *const[], int, const struct timespec *);
int aio_write(struct aiocb *); int aio_write(struct aiocb *);
int lio_listio(int, struct aiocb *const[], int, struct sigevent *); int lio_listio(int, struct aiocb *const[], int, struct sigevent *);
/* MACROS */
#endif /* __AIO_H_INCLUDED__ */ #endif /* __AIO_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,8 +1,10 @@
/* $Id: inet.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* arpa/inet.h * arpa/inet.h
* *
* definitions for internet operations. Based on the Single UNIX(r) * definitions for internet operations. Conforming to the Single UNIX(r)
* Specification, Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -23,25 +25,17 @@
#ifndef __ARPA_INET_H_INCLUDED__ #ifndef __ARPA_INET_H_INCLUDED__
#define __ARPA_INET_H_INCLUDED__ #define __ARPA_INET_H_INCLUDED__
#ifdef __PSXDLL__ /* INCLUDES */
/* headers for internal usage by psxdll.dll and ReactOS */
#include <psxdll/netinet/in.h>
#include <psxdll/inttypes.h>
#else /* ! __PSXDLL__ */
/* standard POSIX headers */
#include <netinet/in.h> #include <netinet/in.h>
#include <inttypes.h> #include <inttypes.h>
#endif /* OBJECTS */
/* types */ /* TYPES */
/* constants */ /* CONSTANTS */
/* prototypes */ /* PROTOTYPES */
uint32_t htonl(uint32_t hostlong); uint32_t htonl(uint32_t hostlong);
uint16_t htons(uint16_t hostshort); uint16_t htons(uint16_t hostshort);
uint32_t ntohl(uint32_t netlong); uint32_t ntohl(uint32_t netlong);
@ -54,7 +48,7 @@ in_addr_t inet_netof(struct in_addr in);
in_addr_t inet_network(const char *cp); in_addr_t inet_network(const char *cp);
char *inet_ntoa(struct in_addr in); char *inet_ntoa(struct in_addr in);
/* macros */ /* MACROS */
#endif /* __ARPA_INET_H_INCLUDED__ */ #endif /* __ARPA_INET_H_INCLUDED__ */

View file

@ -1,8 +1,10 @@
/* $Id: assert.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* assert.h * assert.h
* *
* verify program assertion. Based on the Single UNIX(r) Specification, * verify program assertion. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,8 +1,10 @@
/* $Id: cpio.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* cpio.h * cpio.h
* *
* cpio archive values. Based on the Single UNIX(r) Specification, * cpio archive values. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -23,19 +25,11 @@
#ifndef __CPIO_H_INCLUDED__ #ifndef __CPIO_H_INCLUDED__
#define __CPIO_H_INCLUDED__ #define __CPIO_H_INCLUDED__
#ifdef __PSXDLL__ /* INCLUDES */
/* headers for internal usage by psxdll.dll and ReactOS */ /* TYPES */
#else /* ! __PSXDLL__ */ /* CONSTANTS */
/* standard POSIX headers */
#endif
/* types */
/* constants */
#define C_IRUSR (0000400) /* read by owner */ #define C_IRUSR (0000400) /* read by owner */
#define C_IWUSR (0000200) /* write by owner */ #define C_IWUSR (0000200) /* write by owner */
#define C_IXUSR (0000100) /* execute by owner */ #define C_IXUSR (0000100) /* execute by owner */
@ -59,9 +53,9 @@
#define MAGIC "070707" #define MAGIC "070707"
/* prototypes */ /* PROTOTYPES */
/* macros */ /* MACROS */
#endif /* __CPIO_H_INCLUDED__ */ #endif /* __CPIO_H_INCLUDED__ */

View file

@ -1,7 +1,10 @@
/* $Id: ctype.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* ctype.h * ctype.h
* *
* character types. Based on the Single UNIX(r) Specification, Version 2 * character types. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -22,21 +25,15 @@
#ifndef __CTYPE_H_INCLUDED__ #ifndef __CTYPE_H_INCLUDED__
#define __CTYPE_H_INCLUDED__ #define __CTYPE_H_INCLUDED__
#ifdef __PSXDLL__ /* INCLUDES */
/* headers for internal usage by psxdll.dll and ReactOS */ /* OBJECTS */
#else /* ! __PSXDLL__ */ /* TYPES */
/* standard POSIX headers */ /* CONSTANTS */
#endif /* PROTOTYPES */
/* types */
/* constants */
/* prototypes */
int isalnum(int); int isalnum(int);
int isalpha(int); int isalpha(int);
int isascii(int); int isascii(int);
@ -53,7 +50,7 @@ int toascii(int);
int tolower(int); int tolower(int);
int toupper(int); int toupper(int);
/* macros */ /* MACROS */
/* FIXME: the standard isn't clear about these */ /* FIXME: the standard isn't clear about these */
#define _toupper(c) (toupper(c)) #define _toupper(c) (toupper(c))
#define _tolower(c) (tolower(c)) #define _tolower(c) (tolower(c))

View file

@ -1,8 +1,10 @@
/* $Id: dirent.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* dirent.h * dirent.h
* *
* format of directory entries. Based on the Single UNIX(r) Specification, * format of directory entries. Conforming to the Single UNIX(r)
* Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,7 +1,10 @@
/* $Id: dlfcn.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* dlfcn.h * dlfcn.h
* *
* dynamic linking. Based on the Single UNIX(r) Specification, Version 2 * dynamic linking. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -27,16 +30,16 @@
/* TYPES */ /* TYPES */
/* CONSTANTS */ /* CONSTANTS */
#define RTLD_LAZY (0x00000000) /* Relocations are performed at an #define RTLD_LAZY (0x00000000) /* Relocations are performed at an \
implementation-dependent time. */ implementation-dependent time. */
#define RTLD_NOW (0x00000001) /* Relocations are performed when #define RTLD_NOW (0x00000001) /* Relocations are performed when \
the object is loaded. */ the object is loaded. */
#define RTLD_GLOBAL (0x00000010) /* All symbols are available for #define RTLD_GLOBAL (0x00000010) /* All symbols are available for \
relocation processing of other relocation processing of other \
modules. */ modules. */
#define RTLD_LOCAL (0x00000020) /* All symbols are not made available #define RTLD_LOCAL (0x00000020) /* All symbols are not made available \
for relocation processing by other for relocation processing by other \
modules. */ modules. */
#define RTLD_NEXT ((void *)(-1)) #define RTLD_NEXT ((void *)(-1))

View file

@ -1,8 +1,10 @@
/* $Id: errno.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* errno.h * errno.h
* *
* system error numbers. Based on the Single UNIX(r) Specification, * system error numbers. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,10 +1,10 @@
/* $Id: /* $Id: fcntl.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/ */
/* /*
* fcntl.h * fcntl.h
* *
* file control options. Based on the Single UNIX(r) Specification, * file control options. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,8 +1,10 @@
/* $Id: fmtmsg.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* fmtmsg.h * fmtmsg.h
* *
* message display structures. Based on the Single UNIX(r) Specification, * message display structures. Conforming to the Single UNIX(r)
* Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -24,15 +26,6 @@
#define __FMTMSG_H_INCLUDED__ #define __FMTMSG_H_INCLUDED__
/* INCLUDES */ /* INCLUDES */
#ifdef __PSXDLL__
/* headers for internal usage by psxdll.dll and ReactOS */
#else /* ! __PSXDLL__ */
/* standard POSIX headers */
#endif
/* OBJECTS */ /* OBJECTS */
@ -68,7 +61,7 @@
/* Identifiers for the levels of severity */ /* Identifiers for the levels of severity */
#define MM_NOSEV (0) /* No severity level provided for the message. */ #define MM_NOSEV (0) /* No severity level provided for the message. */
#define MM_INFO (1) /* Informative message. */ #define MM_INFO (1) /* Informative message. */
#define MM_WARNING (2) /* Application has detected unusual non-error #define MM_WARNING (2) /* Application has detected unusual non-error \
condition. */ condition. */
#define MM_ERROR (3) /* Application has encountered a non-fatal fault. */ #define MM_ERROR (3) /* Application has encountered a non-fatal fault. */
#define MM_HALT (4) /* Error causing application to halt. */ #define MM_HALT (4) /* Error causing application to halt. */
@ -84,9 +77,9 @@
/* Return values */ /* Return values */
#define MM_OK ( 0) /* The function succeeded. */ #define MM_OK ( 0) /* The function succeeded. */
#define MM_NOTOK (-1) /* The function failed completely. */ #define MM_NOTOK (-1) /* The function failed completely. */
#define MM_NOMSG (-2) /* The function was unable to generate a message on #define MM_NOMSG (-2) /* The function was unable to generate a message on \
standard error, but otherwise succeeded. */ standard error, but otherwise succeeded. */
#define MM_NOCON (-3) /* The function was unable to generate a console #define MM_NOCON (-3) /* The function was unable to generate a console \
message, but otherwise succeeded. */ message, but otherwise succeeded. */
/* PROTOTYPES */ /* PROTOTYPES */

View file

@ -1,8 +1,10 @@
/* $Id: fnmatch.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* fnmatch.h * fnmatch.h
* *
* filename-matching types. Based on the Single UNIX(r) Specification, * filename-matching types. Conforming to the Single UNIX(r)
* Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -40,17 +42,17 @@
/* CONSTANTS */ /* CONSTANTS */
/* Flags */ /* Flags */
#define FNM_PATHNAME (0x00000001) /* Slash in string only matches slash #define FNM_PATHNAME (0x00000001) /* Slash in string only matches slash \
in pattern. */ in pattern. */
#define FNM_PERIOD (0x00000002) /* Leading period in string must be #define FNM_PERIOD (0x00000002) /* Leading period in string must be \
exactly matched by period in exactly matched by period in \
pattern. */ pattern. */
#define FNM_NOESCAPE (0x00000004) /* Disable backslash escaping. */ #define FNM_NOESCAPE (0x00000004) /* Disable backslash escaping. */
/* Return values */ /* Return values */
#define FNM_NOMATCH (1) /* The string does not match the specified #define FNM_NOMATCH (1) /* The string does not match the specified \
pattern. */ pattern. */
#define FNM_NOSYS (2) /* The implementation does not support this #define FNM_NOSYS (2) /* The implementation does not support this \
function. */ function. */
/* PROTOTYPES */ /* PROTOTYPES */

View file

@ -1,8 +1,10 @@
/* $Id: ftw.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* ftw.h * ftw.h
* *
* file tree traversal. Based on the Single UNIX(r) Specification, * file tree traversal. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -24,24 +26,15 @@
#define __FTW_H_INCLUDED__ #define __FTW_H_INCLUDED__
/* INCLUDES */ /* INCLUDES */
#ifdef __PSXDLL__
/* headers for internal usage by psxdll.dll and ReactOS */
#else /* ! __PSXDLL__ */
/* standard POSIX headers */
#endif
/* OBJECTS */ /* OBJECTS */
/* TYPES */ /* TYPES */
struct FTW struct FTW
{ {
int base int base;
int level int level;
} };
/* CONSTANTS */ /* CONSTANTS */
/* Values of the third argument to the application-supplied function /* Values of the third argument to the application-supplied function
@ -55,14 +48,14 @@ struct FTW
#define FTW_SLN (7) /* Symbolic link that names a non-existent file. */ #define FTW_SLN (7) /* Symbolic link that names a non-existent file. */
/* Values of the fourth argument to nftw() */ /* Values of the fourth argument to nftw() */
#define FTW_PHYS (0x00000001) /* Physical walk, does not follow symbolic #define FTW_PHYS (0x00000001) /* Physical walk, does not follow symbolic \
links. Otherwise, nftw() will follow links. Otherwise, nftw() will follow \
links but will not walk down any path links but will not walk down any path \
that crosses itself. */ that crosses itself. */
#define FTW_MOUNT (0x00000002) /* The walk will not cross a mount point. */ #define FTW_MOUNT (0x00000002) /* The walk will not cross a mount point. */
#define FTW_DEPTH (0x00000004) /* All subdirectories will be visited before #define FTW_DEPTH (0x00000004) /* All subdirectories will be visited before \
the directory itself. */ the directory itself. */
#define FTW_CHDIR (0x00000008) /* The walk will change to each directory #define FTW_CHDIR (0x00000008) /* The walk will change to each directory \
before reading it. */ before reading it. */
/* PROTOTYPES */ /* PROTOTYPES */

View file

@ -1,8 +1,10 @@
/* $Id: glob.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* glob.h * glob.h
* *
* pathname pattern-matching types. Based on the Single UNIX(r) * pathname pattern-matching types. Conforming to the Single UNIX(r)
* Specification, Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -24,46 +26,37 @@
#define __GLOB_H_INCLUDED__ #define __GLOB_H_INCLUDED__
/* INCLUDES */ /* INCLUDES */
#ifdef __PSXDLL__
/* headers for internal usage by psxdll.dll and ReactOS */
#else /* ! __PSXDLL__ */
/* standard POSIX headers */
#endif
/* OBJECTS */ /* OBJECTS */
/* TYPES */ /* TYPES */
typedef struct _tag_glob_t typedef struct __tagglob_t
{ {
size_t gl_pathc /* count of paths matched by pattern */ size_t gl_pathc; /* count of paths matched by pattern */
char **gl_pathv /* pointer to a list of matched pathnames */ char **gl_pathv; /* pointer to a list of matched pathnames */
size_t gl_offs /* slots to reserve at the beginning of gl_pathv */ size_t gl_offs; /* slots to reserve at the beginning of gl_pathv */
} glob_t; } glob_t;
/* CONSTANTS */ /* CONSTANTS */
/* Values for the flags argument */ /* Values for the flags argument */
#define GLOB_APPEND (0x00000001) /* Append generated pathnames to #define GLOB_APPEND (0x00000001) /* Append generated pathnames to \
those previously obtained. */ those previously obtained. */
#define GLOB_DOOFFS (0x00000002) /* Specify how many null pointers to #define GLOB_DOOFFS (0x00000002) /* Specify how many null pointers to \
add to the beginning of */ add to the beginning of */
#define GLOB_ERR (0x00000004) /* Cause glob() to return on error. */ #define GLOB_ERR (0x00000004) /* Cause glob() to return on error. */
#define GLOB_MARK (0x00000008) /* Each pathname that is a directory #define GLOB_MARK (0x00000008) /* Each pathname that is a directory \
that matches pattern has a slash that matches pattern has a slash \
appended. */ appended. */
#define GLOB_NOCHECK (0x00000010) /* If pattern does not match any pathname, #define GLOB_NOCHECK (0x00000010) /* If pattern does not match any pathname, \
then return a list consisting of only then return a list consisting of only \
pattern. */ pattern. */
#define GLOB_NOESCAPE (0x00000020) /* Disable backslash escaping. */ #define GLOB_NOESCAPE (0x00000020) /* Disable backslash escaping. */
#define GLOB_NOSORT (0x00000040) /* Do not sort the pathnames returned. */ #define GLOB_NOSORT (0x00000040) /* Do not sort the pathnames returned. */
/* Error return values */ /* Error return values */
#define GLOB_ABORTED (-1) /* The scan was stopped because GLOB_ERR was set #define GLOB_ABORTED (-1) /* The scan was stopped because GLOB_ERR was set \
or errfunc returned non-zero. */ or errfunc returned non-zero. */
#define GLOB_NOMATCH (-2) /* The pattern does not match any existing pathname, #define GLOB_NOMATCH (-2) /* The pattern does not match any existing pathname, \
and GLOB_NOCHECK was not set in flags. */ and GLOB_NOCHECK was not set in flags. */
#define GLOB_NOSPACE (-3) /* An attempt to allocate memory failed. */ #define GLOB_NOSPACE (-3) /* An attempt to allocate memory failed. */
#define GLOB_NOSYS (-4) /* The implementation does not support this function. */ #define GLOB_NOSYS (-4) /* The implementation does not support this function. */

View file

@ -1,7 +1,10 @@
/* $Id: grp.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* grp.h * grp.h
* *
* group structure. Based on the Single UNIX(r) Specification, Version 2 * group structure. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,8 +1,10 @@
/* $Id: iconv.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* iconv.h * iconv.h
* *
* codeset conversion facility. Based on the Single UNIX(r) Specification, * codeset conversion facility. Conforming to the Single UNIX(r)
* Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -24,15 +26,6 @@
#define __ICONV_H_INCLUDED__ #define __ICONV_H_INCLUDED__
/* INCLUDES */ /* INCLUDES */
#ifdef __PSXDLL__
/* headers for internal usage by psxdll.dll and ReactOS */
#else /* ! __PSXDLL__ */
/* standard POSIX headers */
#endif
/* OBJECTS */ /* OBJECTS */

View file

@ -1,8 +1,10 @@
/* $Id: inttypes.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* inttypes.h * inttypes.h
* *
* fixed size integral types. Based on the Single UNIX(r) Specification, * fixed size integral types. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,8 +1,10 @@
/* $Id: iso646.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* iso646.h * iso646.h
* *
* alternative spellings. Based on the Single UNIX(r) Specification, * alternative spellings. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -24,15 +26,6 @@
#define __ISO646_H_INCLUDED__ #define __ISO646_H_INCLUDED__
/* INCLUDES */ /* INCLUDES */
#ifdef __PSXDLL__
/* headers for internal usage by psxdll.dll and ReactOS */
#else /* ! __PSXDLL__ */
/* standard POSIX headers */
#endif
/* OBJECTS */ /* OBJECTS */

View file

@ -1,3 +1,5 @@
/* $Id: libgen.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* libgen.h * libgen.h
* *

View file

@ -1,9 +1,10 @@
/* TODO */ /* $Id: limits.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* limits.h * limits.h
* *
* implementation-dependent constants. Based on the Single UNIX(r) * implementation-dependent constants. Conforming to the Single UNIX(r)
* Specification, Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -31,6 +32,7 @@
/* TYPES */ /* TYPES */
/* CONSTANTS */ /* CONSTANTS */
/* TODO */
#define OPEN_MAX (256) #define OPEN_MAX (256)
/* PROTOTYPES */ /* PROTOTYPES */

View file

@ -1,8 +1,10 @@
/* $Id: math.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* math.h * math.h
* *
* mathematical declarations. Based on the Single UNIX(r) Specification, * mathematical declarations. Conforming to the Single UNIX(r)
* Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,6 +1,42 @@
/* $Id: in.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/*
* netinet/in.h
*
* Internet Protocol family. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __NETINET_IN_H_INCLUDED__ #ifndef __NETINET_IN_H_INCLUDED__
#define __NETINET_IN_H_INCLUDED__ #define __NETINET_IN_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __NETINET_IN_H_INCLUDED__ */ #endif /* __NETINET_IN_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,3 +1,5 @@
/* $Id: debug.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/debug.h * psx/debug.h
* *

View file

@ -1,3 +1,5 @@
/* $Id: dirent.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/dirent.h * psx/dirent.h
* *

View file

@ -1,3 +1,5 @@
/* $Id: dlfcn.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/dlfcn.h * psx/dlfcn.h
* *

View file

@ -1,3 +1,5 @@
/* $Id: errno.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/errno.h * psx/errno.h
* *

View file

@ -1,9 +1,9 @@
/* $Id: /* $Id: fdtable.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/ */
/* /*
* psx/fdtable.h * psx/fdtable.h
* *
* POSIX subsystem file descriptor table data structure * POSIX+ subsystem file descriptor table data structure
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,3 +1,5 @@
/* $Id: interlock.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/interlock.h * psx/interlock.h
* *

View file

@ -1,7 +1,9 @@
/* $Id: path.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/path.h * psx/path.h
* *
* POSIX subsystem path functions * POSIX+ subsystem path functions
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,9 +1,9 @@
/* $Id: /* $Id: pdata.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/ */
/* /*
* psx/pdata.h * psx/pdata.h
* *
* POSIX subsystem process environment data structure * POSIX+ subsystem process environment data structure
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,3 +1,5 @@
/* $Id: pthread.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/pthread.h * psx/pthread.h
* *

View file

@ -1,3 +1,5 @@
/* $Id: safeobj.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/safeobj.h * psx/safeobj.h
* *

View file

@ -1,3 +1,5 @@
/* $Id: stdlib.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/stdlib.h * psx/stdlib.h
* *

View file

@ -1,12 +1,25 @@
/* $Id: template.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
How to create a new header file from this template:
- copy the template in the new file (never edit this file directly, unless
that's what you want)
- search for the string "EDITME" in the file, and follow the instructions
- remove this comment block, all blocks containing DELETEME, and all EDITME
instructions
- save your file, and Have Fun! (TM)
*/
/* $ Id $ (EDITME: replace "$ Id $" with "$Id: template.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $")
*/
/* /*
* psx/template.h * psx/template.h (EDITME: replace with the real name of the header)
* *
* template for POSIX headers * template for POSIX headers (EDITME: replace this line with the real file
* description)
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
* Contributors: * Contributors:
* Created by KJK::Hyperion <noog@libero.it> * Created by John Doe <john.doe@mail.com> (EDITME: your name and e-mail go
* here)
* *
* THIS SOFTWARE IS NOT COPYRIGHTED * THIS SOFTWARE IS NOT COPYRIGHTED
* *
@ -19,9 +32,39 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* *
*/ */
#ifndef __PSX_TEMPLATE_H_INCLUDED__ /* FIXME: replace with the appropriate tag */
#define __PSX_TEMPLATE_H_INCLUDED__ /* FIXME: replace with the appropriate tag */
/*
Tags are used to prevent double inclusion of C header files. This
technique should be documented in all good C manuals
How to generate an unique tag for your header:
- uppercase the name of the header, where "name" is the filename and
the optional relative path (e.g. "stdio.h", "sys/types.h")
- replace all non-alphanumeric characters in the obtained name with an
underscore character ("_")
- prepend a double underscore ("__"), and append the string "_INCLUDED__"
- replace all occurrences of "__PSX_TEMPLATE_H_INCLUDED__" in this file
with your tag
Example tags:
sys/types.h -> SYS/TYPES.H -> SYS_TYPES_H -> __SYS_TYPES_H_INCLUDED__
iso646.h -> ISO646.H -> ISO646_H -> __ISO646_H_INCLUDED__
(REMOVEME)
*/
#ifndef __PSX_TEMPLATE_H_INCLUDED__ /* EDITME: replace macro with unique tag */
#define __PSX_TEMPLATE_H_INCLUDED__ /* EDITME: replace macro with unique tag */
/*
Explanation of the sections:
INCLUDES #include directives should be grouped here
OBJECTS declare global variables here
TYPES types, structures and unions here
CONSTANTS symbolic constants (simple #define's), enums, constants
PROTOTYPES ANSI C function prototypes
MACROS parametrized macros
(REMOVEME)
*/
/* INCLUDES */ /* INCLUDES */
/* OBJECTS */ /* OBJECTS */
@ -34,7 +77,7 @@
/* MACROS */ /* MACROS */
#endif /* __PSX_TEMPLATE_H_INCLUDED__ */ /* FIXME: replace with the appropriate tag */ #endif /* __PSX_TEMPLATE_H_INCLUDED__ */ /* EDITME: replace macro with unique tag */
/* EOF */ /* EOF */

View file

@ -1,3 +1,5 @@
/* $Id: pthread.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* pthread.h * pthread.h
* *

View file

@ -1,7 +1,10 @@
/* $Id: pwd.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* pwd.h * pwd.h
* *
* password structure. Based on the Single UNIX(r) Specification, Version 2 * password structure. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,3 +1,5 @@
/* $Id: sched.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* sched.h * sched.h
* *

View file

@ -1,3 +1,5 @@
/* $Id: signal.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* signal.h * signal.h
* *

View file

@ -1,8 +1,10 @@
/* $Id: stdarg.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* stdarg.h * stdarg.h
* *
* handle variable argument list. Based on the Single UNIX(r) * handle variable argument list. Conforming to the Single UNIX(r)
* Specification, Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,8 +1,10 @@
/* $Id: stddef.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* stddef.h * stddef.h
* *
* standard type definitions. Based on the Single UNIX(r) Specification, * standard type definitions. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,7 +1,10 @@
/* $Id: stdio.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
*/
/* /*
* stdio.h * stdio.h
* *
* standard buffered input/output. * standard buffered input/output. Conforming to the Single UNIX(r)
* Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -31,16 +34,16 @@
/* OBJECTS */ /* OBJECTS */
extern char *optarg; extern char *optarg;
extern int opterr; extern int opterr;
extern int optind; /* (LEGACY) */ extern int optind; /* LEGACY */
extern int optopt; extern int optopt;
/* TYPES */ /* TYPES */
typedef struct _tagFILE typedef struct __tagFILE
{ {
int _dummy; int _dummy;
} FILE; } FILE;
typedef struct _tagfpos_t typedef struct __tagfpos_t
{ {
int _dummy; int _dummy;
} fpos_t; } fpos_t;
@ -93,7 +96,7 @@ typedef struct _tagfpos_t
/* PROTOTYPES */ /* PROTOTYPES */
void clearerr(FILE *); void clearerr(FILE *);
char *ctermid(char *); char *ctermid(char *);
char *cuserid(char *); /* (LEGACY) */ char *cuserid(char *); /* LEGACY */
int fclose(FILE *); int fclose(FILE *);
FILE *fdopen(int, const char *); FILE *fdopen(int, const char *);
int feof(FILE *); int feof(FILE *);
@ -123,7 +126,7 @@ int getc(FILE *);
int getchar(void); int getchar(void);
int getc_unlocked(FILE *); int getc_unlocked(FILE *);
int getchar_unlocked(void); int getchar_unlocked(void);
int getopt(int, char * const[], const char *); /* (LEGACY) */ int getopt(int, char * const[], const char *); /* LEGACY */
char *gets(char *); char *gets(char *);
int getw(FILE *); int getw(FILE *);
int pclose(FILE *); int pclose(FILE *);

View file

@ -1,8 +1,10 @@
/* $Id: stdlib.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* stdlib.h * stdlib.h
* *
* standard library definitions. Based on the Single UNIX(r) * standard library definitions. Conforming to the Single UNIX(r)
* Specification, Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -45,7 +47,7 @@ typedef struct __tagldiv_t
} ldiv_t; } ldiv_t;
/* CONSTANTS */ /* CONSTANTS */
#define EXIT_FAILURE (-1) /* Unsuccessful termination for exit(), evaluates #define EXIT_FAILURE (-1) /* Unsuccessful termination for exit(), evaluates \
to a non-zero value. */ to a non-zero value. */
#define EXIT_SUCCESS (0) /* Successful termination for exit(), evaluates to 0. */ #define EXIT_SUCCESS (0) /* Successful termination for exit(), evaluates to 0. */
@ -53,8 +55,8 @@ typedef struct __tagldiv_t
#define RAND_MAX (32767) /* Maximum value returned by rand(), at least 32,767. */ #define RAND_MAX (32767) /* Maximum value returned by rand(), at least 32,767. */
/* FIXME */ /* FIXME */
#define MB_CUR_MAX (1) /* Integer expression whose value is the maximum number #define MB_CUR_MAX (1) /* Integer expression whose value is the maximum number \
of bytes in a character specified by the current of bytes in a character specified by the current \
locale. */ locale. */
/* PROTOTYPES */ /* PROTOTYPES */
@ -114,9 +116,9 @@ long int strtol(const char *, char **, int);
unsigned long int unsigned long int
strtoul(const char *, char **, int); strtoul(const char *, char **, int);
int system(const char *); int system(const char *);
int ttyslot(void); /* (LEGACY) */ int ttyslot(void); /* LEGACY */
int unlockpt(int); int unlockpt(int);
void *valloc(size_t); /* (LEGACY) */ void *valloc(size_t); /* LEGACY */
size_t wcstombs(char *, const wchar_t *, size_t); size_t wcstombs(char *, const wchar_t *, size_t);
int wctomb(char *, wchar_t); int wctomb(char *, wchar_t);

View file

@ -1,7 +1,10 @@
/* $Id: string.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* string.h * string.h
* *
* string operations. Based on the Single UNIX(r) Specification, Version 2 * string operations. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,6 +1,42 @@
/* $Id: ipc.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/ipc.h
*
* interprocess communication access structure. Conforming to the Single
* UNIX(r) Specification Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_IPC_H_INCLUDED__ #ifndef __SYS_IPC_H_INCLUDED__
#define __SYS_IPC_H_INCLUDED__ #define __SYS_IPC_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_IPC_H_INCLUDED__ */ #endif /* __SYS_IPC_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,7 +1,43 @@
#ifndef __SYS_MMAN_H_INCLUDED__ /* $Id: mman.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
#define __SYS_MMAN_H_INCLUDED__ */
/*
* sys/mman.h
*
* memory management declarations. Conforming to the Single UNIX(r)
* Specification Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_SOCKET_H_INCLUDED__
#define __SYS_SOCKET_H_INCLUDED__
#endif /* __SYS_MMAN_H_INCLUDED__ */ /* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_SOCKET_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,7 +1,43 @@
#ifndef __SYS_MSG_H_INCLUDED__ /* $Id: msg.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
#define __SYS_MSG_H_INCLUDED__ */
/*
* sys/msg.h
*
* message queue structures. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_SOCKET_H_INCLUDED__
#define __SYS_SOCKET_H_INCLUDED__
#endif /* __SYS_MSG_H_INCLUDED__ */ /* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_SOCKET_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,6 +1,42 @@
/* $Id: resource.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/resource.h
*
* definitions for XSI resource operations. Conforming to the Single UNIX(r)
* Specification Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_RESOURCE_H_INCLUDED__ #ifndef __SYS_RESOURCE_H_INCLUDED__
#define __SYS_RESOURCE_H_INCLUDED__ #define __SYS_RESOURCE_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_RESOURCE_H_INCLUDED__ */ #endif /* __SYS_RESOURCE_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,6 +1,42 @@
/* $Id: sem.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/sem.h
*
* semaphore facility. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_SEM_H_INCLUDED__ #ifndef __SYS_SEM_H_INCLUDED__
#define __SYS_SEM_H_INCLUDED__ #define __SYS_SEM_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_SEM_H_INCLUDED__ */ #endif /* __SYS_SEM_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,6 +1,42 @@
/* $Id: shm.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/shm.h
*
* shared memory facility. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_SHM_H_INCLUDED__ #ifndef __SYS_SHM_H_INCLUDED__
#define __SYS_SHM_H_INCLUDED__ #define __SYS_SHM_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_SHM_H_INCLUDED__ */ #endif /* __SYS_SHM_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,6 +1,42 @@
/* $Id: socket.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/socket.h
*
* Internet Protocol family. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_SOCKET_H_INCLUDED__ #ifndef __SYS_SOCKET_H_INCLUDED__
#define __SYS_SOCKET_H_INCLUDED__ #define __SYS_SOCKET_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_SOCKET_H_INCLUDED__ */ #endif /* __SYS_SOCKET_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,8 +1,10 @@
/* $Id: stat.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/* /*
* sys/stat.h * sys/stat.h
* *
* data returned by the stat() function. Based on the Single UNIX(r) Specification, * data returned by the stat() function. Conforming to the Single
* Version 2 * UNIX(r) Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,6 +1,42 @@
/* $Id: statvfs.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/statvfs.h
*
* VFS Filesystem information structure. Conforming to the Single UNIX(r)
* Specification Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_STATVFS_H_INCLUDED__ #ifndef __SYS_STATVFS_H_INCLUDED__
#define __SYS_STATVFS_H_INCLUDED__ #define __SYS_STATVFS_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_STATVFS_H_INCLUDED__ */ #endif /* __SYS_STATVFS_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,6 +1,42 @@
/* $Id: time.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/time.h
*
* time types. Conforming to the Single UNIX(r) Specification Version 2,
* System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_TIME_H_INCLUDED__ #ifndef __SYS_TIME_H_INCLUDED__
#define __SYS_TIME_H_INCLUDED__ #define __SYS_TIME_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_TIME_H_INCLUDED__ */ #endif /* __SYS_TIME_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,6 +1,42 @@
/* $Id: timeb.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/timeb.h
*
* additional definitions for date and time. Conforming to the Single UNIX(r)
* Specification Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_TIMEB_H_INCLUDED__ #ifndef __SYS_TIMEB_H_INCLUDED__
#define __SYS_TIMEB_H_INCLUDED__ #define __SYS_TIMEB_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_TIMEB_H_INCLUDED__ */ #endif /* __SYS_TIMEB_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,6 +1,42 @@
/* $Id: times.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/times.h
*
* file access and modification times structure. Conforming to the Single
* UNIX(r) Specification Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_TIMES_H_INCLUDED__ #ifndef __SYS_TIMES_H_INCLUDED__
#define __SYS_TIMES_H_INCLUDED__ #define __SYS_TIMES_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_TIMES_H_INCLUDED__ */ #endif /* __SYS_TIMES_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,7 +1,10 @@
/* $Id: types.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/* /*
* sys/types.h * sys/types.h
* *
* data types. Based on the Single UNIX(r) Specification, Version 2 * data types. Conforming to the Single UNIX(r) Specification Version 2,
* System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,6 +1,42 @@
/* $Id: uio.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/uio.h
*
* definitions for vector I/O operations. Conforming to the Single UNIX(r)
* Specification Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_UIO_H_INCLUDED__ #ifndef __SYS_UIO_H_INCLUDED__
#define __SYS_UIO_H_INCLUDED__ #define __SYS_UIO_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_UIO_H_INCLUDED__ */ #endif /* __SYS_UIO_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,6 +1,42 @@
/* $Id: un.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/un.h
*
* declarations for definitions for UNIX-domain sockets. Conforming to the
* Single UNIX(r) Specification Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_UN_H_INCLUDED__ #ifndef __SYS_UN_H_INCLUDED__
#define __SYS_UN_H_INCLUDED__ #define __SYS_UN_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_UN_H_INCLUDED__ */ #endif /* __SYS_UN_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,8 +1,10 @@
/* $Id: utsname.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/* /*
* sys/utsname.h * sys/utsname.h
* *
* system name structure. Based on the Single UNIX(r) Specification, * system name structure. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,6 +1,42 @@
/* $Id: wait.h,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/
/*
* sys/wait.h
*
* declarations for waiting. Conforming to the Single UNIX(r) Specification
* Version 2, System Interface & Headers Issue 5
*
* This file is part of the ReactOS Operating System.
*
* Contributors:
* Created by KJK::Hyperion <noog@libero.it>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __SYS_WAIT_H_INCLUDED__ #ifndef __SYS_WAIT_H_INCLUDED__
#define __SYS_WAIT_H_INCLUDED__ #define __SYS_WAIT_H_INCLUDED__
/* INCLUDES */
/* OBJECTS */
/* TYPES */
/* CONSTANTS */
/* PROTOTYPES */
/* MACROS */
#endif /* __SYS_WAIT_H_INCLUDED__ */ #endif /* __SYS_WAIT_H_INCLUDED__ */
/* EOF */ /* EOF */

View file

@ -1,7 +1,10 @@
/* $Id: time.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* time.h * time.h
* *
* time types. Based on the Single UNIX(r) Specification, Version 2 * time types. Conforming to the Single UNIX(r) Specification Version 2,
* System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,7 +1,10 @@
/* $Id: ucontext.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* ucontext.h * ucontext.h
* *
* user context. Based on the Single UNIX(r) Specification, Version 2 * user context. Conforming to the Single UNIX(r) Specification Version 2,
* System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -30,9 +33,9 @@
/* TYPES */ /* TYPES */
typedef void * mcontext_t; typedef void * mcontext_t;
typedef struct _tagucontext_t ucontext_t; typedef struct __tagucontext_t ucontext_t;
struct _tagucontext_t struct __tagucontext_t
{ {
ucontext_t *uc_link; /* pointer to the context that will be resumed ucontext_t *uc_link; /* pointer to the context that will be resumed
when this context returns */ when this context returns */

View file

@ -1,8 +1,10 @@
/* $Id: unistd.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* psx/template.h * unistd.h
* *
* standard symbolic constants and types. Based on the Single UNIX(r) * standard symbolic constants and types. Conforming to the Single UNIX(r)
* Specification, Version 2 * Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *
@ -399,13 +401,13 @@ int access(const char *, int);
unsigned int alarm(unsigned int); unsigned int alarm(unsigned int);
int brk(void *); int brk(void *);
int chdir(const char *); int chdir(const char *);
int chroot(const char *); /* (LEGACY) */ int chroot(const char *); /* LEGACY */
int chown(const char *, uid_t, gid_t); int chown(const char *, uid_t, gid_t);
int close(int); int close(int);
size_t confstr(int, char *, size_t); size_t confstr(int, char *, size_t);
char *crypt(const char *, const char *); char *crypt(const char *, const char *);
char *ctermid(char *); char *ctermid(char *);
char *cuserid(char *s); /* (LEGACY) */ char *cuserid(char *s); /* LEGACY */
int dup(int); int dup(int);
int dup2(int, int); int dup2(int, int);
void encrypt(char[64], int); void encrypt(char[64], int);
@ -424,7 +426,7 @@ long int fpathconf(int, int);
int fsync(int); int fsync(int);
int ftruncate(int, off_t); int ftruncate(int, off_t);
char *getcwd(char *, size_t); char *getcwd(char *, size_t);
int getdtablesize(void); /* (LEGACY) */ int getdtablesize(void); /* LEGACY */
gid_t getegid(void); gid_t getegid(void);
uid_t geteuid(void); uid_t geteuid(void);
gid_t getgid(void); gid_t getgid(void);
@ -433,8 +435,8 @@ long gethostid(void);
char *getlogin(void); char *getlogin(void);
int getlogin_r(char *, size_t); int getlogin_r(char *, size_t);
int getopt(int, char * const [], const char *); int getopt(int, char * const [], const char *);
int getpagesize(void); /* (LEGACY) */ int getpagesize(void); /* LEGACY */
char *getpass(const char *); /* (LEGACY) */ char *getpass(const char *); /* LEGACY */
pid_t getpgid(pid_t); pid_t getpgid(pid_t);
pid_t getpgrp(void); pid_t getpgrp(void);
pid_t getpid(void); pid_t getpid(void);

View file

@ -1,8 +1,10 @@
/* $Id: utime.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* utime.h * utime.h
* *
* access and modification times structure. Based on the Single UNIX(r) * access and modification times structure. Conforming to the Single
* Specification, Version 2 * UNIX(r) Specification Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,8 +1,10 @@
/* $Id: wchar.h,v 1.2 2002/02/20 09:17:55 hyperion Exp $
*/
/* /*
* wchar.h * wchar.h
* *
* wide-character types. Based on the Single UNIX(r) Specification, * wide-character types. Conforming to the Single UNIX(r) Specification
* Version 2 * Version 2, System Interface & Headers Issue 5
* *
* This file is part of the ReactOS Operating System. * This file is part of the ReactOS Operating System.
* *

View file

@ -1,4 +1,4 @@
# $Id: # $Id: Makefile,v 1.2 2002/02/20 09:17:56 hyperion Exp $
PATH_TO_TOP = ../../../.. PATH_TO_TOP = ../../../..

View file

@ -1,8 +1,8 @@
/* $Id: closedir.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: closedir.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/dirent/closedir.c * FILE: subsys/psx/lib/psxdll/dirent/closedir.c
* PURPOSE: Close a directory stream * PURPOSE: Close a directory stream
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: opendir.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: opendir.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/dirent/opendir.c * FILE: subsys/psx/lib/psxdll/dirent/opendir.c
* PURPOSE: Open a directory * PURPOSE: Open a directory
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: readdir.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: readdir.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/dirent/readdir.c * FILE: subsys/psx/lib/psxdll/dirent/readdir.c
* PURPOSE: Read directory * PURPOSE: Read directory
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: dlclose.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: dlclose.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/dlfcn/dlclose.c * FILE: subsys/psx/lib/psxdll/dlfcn/dlclose.c
* PURPOSE: Close a dlopen() object * PURPOSE: Close a dlopen() object
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: dlerror.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: dlerror.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/dlfcn/dlerror.c * FILE: subsys/psx/lib/psxdll/dlfcn/dlerror.c
* PURPOSE: Gain access to an executable object file * PURPOSE: Gain access to an executable object file
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: dlopen.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: dlopen.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/dlfcn/dlopen.c * FILE: subsys/psx/lib/psxdll/dlfcn/dlopen.c
* PURPOSE: Gain access to an executable object file * PURPOSE: Gain access to an executable object file
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: dlsym.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: dlsym.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/dlfcn/dlsym.c * FILE: subsys/psx/lib/psxdll/dlfcn/dlsym.c
* PURPOSE: Obtain the address of a symbol from a dlopen() object * PURPOSE: Obtain the address of a symbol from a dlopen() object
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: errno.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: errno.c,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/errno/errno.c * FILE: subsys/psx/lib/psxdll/errno/errno.c
* PURPOSE: Internal errno implementation * PURPOSE: Internal errno implementation
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: fcntl.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: fcntl.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/fcntl/fcntl.c * FILE: subsys/psx/lib/psxdll/fcntl/fcntl.c
* PURPOSE: File control * PURPOSE: File control
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: open.c,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: open.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/fcntl/open.c * FILE: subsys/psx/lib/psxdll/fcntl/open.c
* PURPOSE: Open a file * PURPOSE: Open a file
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: basename.c,v 1.1 2002/02/20 07:06:51 hyperion Exp $ /* $Id: basename.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/libgen/basename.c * FILE: subsys/psx/lib/psxdll/libgen/basename.c
* PURPOSE: Return the last component of a pathname * PURPOSE: Return the last component of a pathname
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: fdtable.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/misc/fdtable.c * FILE: subsys/psx/lib/psxdll/misc/fdtable.c
* PURPOSE: File descriptors table functions * PURPOSE: File descriptors table functions
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: interlock.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/misc/interlock.c * FILE: subsys/psx/lib/psxdll/misc/interlock.c
* PURPOSE: inter-locked increments/decrements * PURPOSE: inter-locked increments/decrements
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: main.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/misc/main.c * FILE: subsys/psx/lib/psxdll/misc/main.c
* PURPOSE: psxdll.dll entry point * PURPOSE: psxdll.dll entry point
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: path.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/misc/path.c * FILE: subsys/psx/lib/psxdll/misc/path.c
* PURPOSE: POSIX subsystem path utilities * PURPOSE: POSIX subsystem path utilities
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: safeobj.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/misc/safeobj.c * FILE: subsys/psx/lib/psxdll/misc/safeobj.c
* PURPOSE: safe checking of user-provided objects * PURPOSE: safe checking of user-provided objects
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,15 +1,25 @@
/* $Id: /* $Id: template.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
How to create a new source file from this template:
- copy the template in the new file (never edit this file directly, unless
that's what you want)
- search for the string "EDITME" in the file, and follow the instructions
- remove this comment block, all blocks containing DELETEME, and all EDITME
instructions
- save your file, and Have Fun! (TM)
*/
/* $ Id $ (EDITME: replace "$ Id $" with "$Id: template.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $")
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS POSIX+ Subsystem * PROJECT: ReactOS POSIX+ Subsystem
* FILE: * FILE: (EDITME: put real path of the file here)
* PURPOSE: * PURPOSE: (EDITME: put a very syntetic description of the file here)
* PROGRAMMER: * PROGRAMMER: <john.doe@mail.com> (EDITME: your name and e-mail go here)
* UPDATE HISTORY: * UPDATE HISTORY:
* : Created * (EDITME: put here the creation date): Created
*/ */
/* EDITME: your code here */
/* EOF */ /* EOF */

View file

@ -1,6 +1,6 @@
; $Id: psxdll.def,v 1.1 2002/02/20 07:06:50 hyperion Exp $ ; $Id: psxdll.def,v 1.2 2002/02/20 09:17:56 hyperion Exp $
; ;
; ReactOS POSIX Client Library ; ReactOS POSIX+ Client Library
; ;
LIBRARY PSXDLL.DLL LIBRARY PSXDLL.DLL

View file

@ -1,6 +1,6 @@
; $Id: psxdll.edf,v 1.1 2002/02/20 07:06:50 hyperion Exp $ ; $Id: psxdll.edf,v 1.2 2002/02/20 09:17:56 hyperion Exp $
; ;
; ReactOS POSIX Client Library ; ReactOS POSIX+ Client Library
; ;
LIBRARY PSXDLL.DLL LIBRARY PSXDLL.DLL

View file

@ -1,4 +1,4 @@
/* $Id: psxdll.rc,v 1.1 2002/02/20 07:06:50 hyperion Exp $ /* $Id: psxdll.rc,v 1.2 2002/02/20 09:17:56 hyperion Exp $
*/ */
#include <defines.h> #include <defines.h>
#include <reactos/resource.h> #include <reactos/resource.h>
@ -23,7 +23,7 @@ BEGIN
BLOCK "040904b0" BLOCK "040904b0"
BEGIN BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "Posix Client DLL\0" VALUE "FileDescription", "POSIX+ Client DLL\0"
VALUE "FileVersion", RES_STR_FILE_VERSION VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "psxdll\0" VALUE "InternalName", "psxdll\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: create.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/pthread/create.c * FILE: subsys/psx/lib/psxdll/pthread/create.c
* PURPOSE: Thread creation * PURPOSE: Thread creation
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: exit.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/pthread/exit.c * FILE: subsys/psx/lib/psxdll/pthread/exit.c
* PURPOSE: Thread termination * PURPOSE: Thread termination
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: join.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/pthread/join.c * FILE: subsys/psx/lib/psxdll/pthread/join.c
* PURPOSE: Wait for thread termination * PURPOSE: Wait for thread termination
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: kill.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/pthread/kill.c * FILE: subsys/psx/lib/psxdll/pthread/kill.c
* PURPOSE: Send a signal to a thread * PURPOSE: Send a signal to a thread
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: mutex.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/pthread/mutex.c * FILE: subsys/psx/lib/psxdll/pthread/mutex.c
* PURPOSE: Mutex functions * PURPOSE: Mutex functions
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: self.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/pthread/self.c * FILE: subsys/psx/lib/psxdll/pthread/self.c
* PURPOSE: get calling thread's ID * PURPOSE: get calling thread's ID
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: yield.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/sched/yield.c * FILE: subsys/psx/lib/psxdll/sched/yield.c
* PURPOSE: Yield processor * PURPOSE: Yield processor
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: raise.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/signal/raise.c * FILE: subsys/psx/lib/psxdll/signal/raise.c
* PURPOSE: Send a signal to the executing process * PURPOSE: Send a signal to the executing process
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: abort.c,v 1.2 2002/02/20 09:17:58 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/stdlib/abort.c * FILE: subsys/psx/lib/psxdll/stdlib/abort.c
* PURPOSE: Generate an abnormal process abort * PURPOSE: Generate an abnormal process abort
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: exit.c,v 1.2 2002/02/20 09:17:58 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/stdlib/exit.c * FILE: subsys/psx/lib/psxdll/stdlib/exit.c
* PURPOSE: Terminate a process * PURPOSE: Terminate a process
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: malloc.c,v 1.2 2002/02/20 09:17:58 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/stdlib/malloc.c * FILE: subsys/psx/lib/psxdll/stdlib/malloc.c
* PURPOSE: Memory allocator * PURPOSE: Memory allocator
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: strcoll.c,v 1.2 2002/02/20 09:17:58 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/string/strcoll.c * FILE: subsys/psx/lib/psxdll/string/strcoll.c
* PURPOSE: string comparison using collating information * PURPOSE: string comparison using collating information
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,10 +1,10 @@
/* $Id: /* $Id: strdup.c,v 1.2 2002/02/20 09:17:58 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/string/strdup.c * FILE: subsys/psx/lib/psxdll/string/strdup.c
* PURPOSE: duplicate a string * PURPOSE: Duplicate a string
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>
* UPDATE HISTORY: * UPDATE HISTORY:
* 21/01/2002: Created * 21/01/2002: Created

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: strerror.c,v 1.2 2002/02/20 09:17:58 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: subsys/psx/lib/psxdll/string/strerror.c * FILE: subsys/psx/lib/psxdll/string/strerror.c
* PURPOSE: Get error message string * PURPOSE: Get error message string
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

View file

@ -1,8 +1,8 @@
/* $Id: /* $Id: uname.c,v 1.2 2002/02/20 09:17:58 hyperion Exp $
*/ */
/* /*
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS POSIX+ Subsystem
* FILE: lib/psxdll/sys/utsname/uname.c * FILE: lib/psxdll/sys/utsname/uname.c
* PURPOSE: Get name of current system * PURPOSE: Get name of current system
* PROGRAMMER: KJK::Hyperion <noog@libero.it> * PROGRAMMER: KJK::Hyperion <noog@libero.it>

Some files were not shown because too many files have changed in this diff Show more