Ticket #2191: posix_license_headers.diff

File posix_license_headers.diff, 36.1 KB (added by ekdahl, 16 years ago)

New patch

  • headers/posix/pwd.h

     
     1/*
     2 * Copyright 2002-2008 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _PWD_H_
    26#define _PWD_H_
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
     8
    79#include <sys/types.h>
    810
    911#ifdef __cplusplus
  • headers/posix/alloca.h

     
     1/*
     2 * Copyright 2003 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _ALLOCA_H
    26#define _ALLOCA_H
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
    78
    89#include <sys/types.h>
  • headers/posix/arpa/nameser.h

     
    11/*
    2  * Copyright 2006, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
  • headers/posix/arpa/inet.h

     
    11/*
    2  * Copyright 2006, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
  • headers/posix/endian.h

     
     1/*
     2 * Copyright 2003-2007 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _ENDIAN_H_
    26#define _ENDIAN_H_
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
    78
    89/* Defines architecture dependent endian constants.
  • headers/posix/limits.h

     
     1/*
     2 * Copyright 2002-2008 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _LIBC_LIMITS_H_
    26#define _LIBC_LIMITS_H_
    37    /* Note: The header guard is checked in gcc's limits.h. */
     
    26
     7
    38#include <float.h>      /* for DBL_DIG, FLT_DIG, etc */
  • headers/posix/getopt.h

     
    1 /*
    2 ** Distributed under the terms of the Haiku License.
    3 */
     1/*
     2 * Copyright 2004 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    45#ifndef _GETOPT_H
    56#define _GETOPT_H
    67
  • headers/posix/stdint.h

     
    11/*
    2  * Copyright 2003-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2003-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _STDINT_H_
  • headers/posix/string.h

     
    11/*
    2  * Copyright 2004, Haiku Inc. All Rights Reserved.
     2 * Copyright 2004-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _STRING_H_
  • headers/posix/fcntl.h

     
    11/*
    2  * Copyright 2002-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _FCNTL_H
  • headers/posix/poll.h

     
     1/*
     2 * Copyright 2002 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _POLL_H
    26#define _POLL_H
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
     8
    79typedef unsigned long nfds_t;
    810
    911struct pollfd {
  • headers/posix/bsd_mem.h

     
    11/*
    2    Make life easier for those porting old Berkeley style
    3    code...
    4 */
     2 * Copyright 2005 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 *
     5 * Make life easier for those porting old Berkeley style
     6 * code...
     7 */
    58#ifndef _BSD_MEM_H_
    69#define _BSD_MEM_H_
    710
     11
    812#ifndef USG   /* when this is defined, these aren't needed */
    913
    1014#ifndef bcopy
  • headers/posix/malloc.h

     
    11/*
    2  * Copyright 2002-2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _MALLOC_H
  • headers/posix/wctype.h

     
    11/*
    2  * Copyright 2005, Haiku Inc. All Rights Reserved.
     2 * Copyright 2005 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _WCTYPE_H_
  • headers/posix/iconv.h

     
     1/*
     2 * Copyright 2003 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _ICONV_H_
    26#define _ICONV_H_
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
     7
     8
    69#include <size_t.h>
    710
    811typedef void *iconv_t;
  • headers/posix/syslog.h

     
    11/*
    2  * Copyright 2003-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2003-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYSLOG_H_
  • headers/posix/netinet/in.h

     
    1 /* in.h */
    2 
     1/*
     2 * Copyright 2002-2007 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    35#ifndef _NETINET_IN_H_
    46#define _NETINET_IN_H_
    57
     8
    69#include <sys/types.h>
    710#include <net/if.h>
    811#include <endian.h>
  • headers/posix/netinet/tcp.h

     
    11/*
    2  * Copyright 2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef NETINET_TCP_H
  • headers/posix/netinet/ip.h

     
    1 /* netinet/ip.h
    2  * definitions for ipv4 protocol
     1/*
     2 * Copyright 2002-2006 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
    34 */
    4  
    55#ifndef _NETINET_IP_H
    66#define _NETINET_IP_H
    77
     8
    89#include <netinet/in.h>
    910#include <stdint.h>
    1011
  • headers/posix/stdlib.h

     
    11/*
    2  * Copyright 2002-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _STDLIB_H_
  • headers/posix/stdio.h

     
    1 /*
    2 ** Distributed under the terms of the OpenBeOS License.
    3 */
     1/*
     2 * Copyright 2004-2008 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    45#ifndef _STDIO_H_
    56#define _STDIO_H_
    67
  • headers/posix/utime.h

     
     1/*
     2 * Copyright 2002-2004 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _UTIME_H_
    26#define _UTIME_H_
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
    78
    89#include <sys/types.h>
  • headers/posix/semaphore.h

     
    11/*
    2  * Copyright 2008, Haiku, Inc.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SEMAPHORE_H_
    66#define _SEMAPHORE_H_
    77
     8
    89#include <stdint.h>
    910#include <sys/cdefs.h>
    1011#include <time.h>
  • headers/posix/dirent.h

     
    11/*
    2  * Copyright 2002-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _DIRENT_H
  • headers/posix/sched.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All rights reserved.
     2 * Copyright 2008 Haiku Inc. All rights reserved.
    33 * Distributed under the terms of the MIT license.
    44 */
    55#ifndef _SCHED_H_
    66#define _SCHED_H_
    77
     8
    89#ifdef __cplusplus
    910extern "C" {
    1011#endif
  • headers/posix/wchar_t.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
  • headers/posix/pthread.h

     
    11/*
    2  * Copyright 2001-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2001-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the Haiku License.
    44 */
    55#ifndef _PTHREAD_H_
  • headers/posix/arch/arm/signal.h

     
    11/*
    2  * Copyright 2008, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _ARCH_SIGNAL_H_
    66#define _ARCH_SIGNAL_H_
    77
     8
    89/*
    910 * Architecture-specific structure passed to signal handlers
    1011 */
  • headers/posix/arch/arm/arch_setjmp.h

     
    11/*
    2  * Copyright 2008, Haiku, Inc.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _ARCH_SETJMP_H_
    66#define _ARCH_SETJMP_H_
    77
     8
    89#define _SETJMP_BUF_SZ (7+6+2+8*((96/8)/4))
    910typedef int __jmp_buf[_SETJMP_BUF_SZ];
    1011#warning ARM: fix jmpbuf size
  • headers/posix/arch/ppc/signal.h

     
    11/*
    2  * Copyright 2002-2007, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2002-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _ARCH_SIGNAL_H_
    66#define _ARCH_SIGNAL_H_
    77
     8
    89/*
    910 * Architecture-specific structure passed to signal handlers
    1011 */
  • headers/posix/arch/ppc/arch_setjmp.h

     
    11/*
    2  * Copyright 2005, Haiku, Inc.
     2 * Copyright 2005 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _ARCH_SETJMP_H_
    66#define _ARCH_SETJMP_H_
    77
     8
    89typedef int __jmp_buf[23];
    910
    1011#endif  /* _ARCH_SETJMP_H_ */
  • headers/posix/arch/x86/signal.h

     
    11/*
    2  * Copyright 2002-2007, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2002-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _ARCH_SIGNAL_H_
    66#define _ARCH_SIGNAL_H_
    77
     8
    89/*
    910 * Architecture-specific structure passed to signal handlers
    1011 */
  • headers/posix/arch/x86/arch_setjmp.h

     
    11/*
    2  * Copyright 2005, Haiku, Inc.
     2 * Copyright 2005 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _ARCH_SETJMP_H_
    66#define _ARCH_SETJMP_H_
    77
     8
    89typedef int __jmp_buf[6];
    910
    1011#endif  /* _ARCH_SETJMP_H_ */
  • headers/posix/arch/m68k/signal.h

     
    11/*
    2  * Copyright 2002-2007, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2002-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _ARCH_SIGNAL_H_
    66#define _ARCH_SIGNAL_H_
    77
     8
    89/*
    910 * Architecture-specific structure passed to signal handlers
    1011 */
  • headers/posix/arch/m68k/arch_setjmp.h

     
    11/*
    2  * Copyright 2007, Haiku, Inc.
     2 * Copyright 2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _ARCH_SETJMP_H_
    66#define _ARCH_SETJMP_H_
    77
     8
    89#define _SETJMP_BUF_SZ (7+6+2+8*((96/8)/4))
    910typedef int __jmp_buf[_SETJMP_BUF_SZ];
    1011#warning M68K: fix jmpbuf size
  • headers/posix/grp.h

     
    11/*
    2  * Copyright 2004-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2004-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _GRP_H_
  • headers/posix/stdio_pre.h

     
    1 /*
    2 ** Distributed under the terms of the OpenBeOS License.
    3 */
     1/*
     2 * Copyright 2003-2007 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    45#ifndef _STDIO_PRE_H_
    56#define _STDIO_PRE_H_
    67
     8
    79#ifndef _STDIO_H_
    810#   error "This file must be included from stdio.h!"
    911#endif
  • headers/posix/strings.h

     
     1/*
     2 * Copyright 2002 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _STRINGS_H_
    26#define _STRINGS_H_
    37
  • headers/posix/math.h

     
    11/*
    2  * Copyright 2001-2006, Haiku.
     2 * Copyright 2001-2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _MATH_H_
  • headers/posix/nl_types.h

     
     1/*
     2 * Copyright 2003 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _NL_TYPES_H_
    26#define _NL_TYPES_H_
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
    78
    89#define NL_SETD         0
  • headers/posix/size_t.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SIZE_T_H_
  • headers/posix/time.h

     
    11/*
    2  * Copyright 2005-2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2005-2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _TIME_H_
  • headers/posix/locale.h

     
     1/*
     2 * Copyright 2002 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _LOCALE_H_
    26#define _LOCALE_H_
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
     8
    79#include <null.h>
    810
    911struct lconv {
  • headers/posix/net/if_dl.h

     
    11/*
    2  * Copyright 2006-2007, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2006-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _NET_IF_DL_H
  • headers/posix/net/if_media.h

     
    11/*
    2  * Copyright 2007, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _NET_IF_MEDIA_H
  • headers/posix/net/if.h

     
    11/*
    2  * Copyright 2006-2007, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2006-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _NET_IF_H
  • headers/posix/net/route.h

     
    11/*
    2  * Copyright 2006-2007, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2006-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _NET_ROUTE_H
  • headers/posix/net/if_types.h

     
    11/*
    2  * Copyright 2006, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _NET_IF_TYPES_H
    66#define _NET_IF_TYPES_H
    77
     8
    89#define IFT_OTHER       0x01
    910#define IFT_ETHER       0x06
    1011#define IFT_PPP         0x17
  • headers/posix/assert.h

     
    1 /*
    2 ** Distributed under the terms of the Haiku License.
    3 */
     1/*
     2 * Copyright 2004 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    45#ifndef _ASSERT_H_
    56#define _ASSERT_H_
    67
     8
    79#undef assert
    810
    911#ifndef NDEBUG
  • headers/posix/setjmp.h

     
    11/*
    2  * Copyright 2004-2005, Haiku, Inc.
     2 * Copyright 2004-2005 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SETJMP_H_
    66#define _SETJMP_H_
    77
     8
    89#include <signal.h>
    910
    1011/* include architecture specific definitions */
  • headers/posix/div_t.h

     
     1/*
     2 * Copyright 2002 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _DIV_T_H_
    26#define _DIV_T_H_
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
     8
    79typedef struct {
    810    int quot;
    911    int rem;
  • headers/posix/search.h

     
    11/*
    2  * Copyright 2008, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SEARCH_H_
  • headers/posix/netinet6/in6.h

     
    11/*
    2  * Copyright 2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _NETINET6_IN6_H_
  • headers/posix/unistd.h

     
    11/*
    2  * Copyright 2004-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2004-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _UNISTD_H_
  • headers/posix/memory.h

     
     1/*
     2 * Copyright 2005 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
     5
     6
    17#include <string.h>
    28
  • headers/posix/signal.h

     
    11/*
    2  * Copyright 2002-2007, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2002-2008 Haiku, Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SIGNAL_H_
  • headers/posix/inttypes.h

     
    11/*
    2  * Copyright 2002-2008 Haiku inc. All rights reserved.
    3  * Distributed under the terms of the MIT License
     2 * Copyright 2002-2008 Haiku Inc. All rights reserved.
     3 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _INTTYPES_H_
    66#define _INTTYPES_H_
  • headers/posix/termios.h

     
    11/*
    2  * Copyright 2004-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2004-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _TERMIOS_H_
  • headers/posix/ctype.h

     
     1/*
     2 * Copyright 2003-2004 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _CTYPE_H
    26#define _CTYPE_H
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
     8
    79#ifdef __cplusplus
    810extern "C" {
    911#endif
  • headers/posix/errno.h

     
    11/*
    2  * errno.h
     2 * Copyright 2002 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
    34 */
    4 
    55#ifndef _POSIX_ERRNO_H
    66#define _POSIX_ERRNO_H
    77
     8
    89#ifdef __cplusplus
    910extern "C"
    1011{
  • headers/posix/shadow.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SHADOW_H_
    66#define _SHADOW_H_
    77
     8
    89#include <stddef.h>
    910#include <stdio.h>
    1011
  • headers/posix/dlfcn.h

     
     1/*
     2 * Copyright 2003 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _DLFCN_H
    26#define _DLFCN_H
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
     8
    79#include <sys/types.h>
    810
    911
  • headers/posix/stdio_post.h

     
    1 /*
    2 ** Distributed under the terms of the Haiku License.
    3 */
     1/*
     2 * Copyright 2003-2008 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    45#ifndef _STDIO_POST_H_
    56#define _STDIO_POST_H_
    67
     8
    79/* "Private"/inline functions of our BeOS compatible stdio implementation */
    810
    911/* ToDo: this is a work in progress to make our stdio
  • headers/posix/sys/statvfs.h

     
    11/*
    2  * Copyright 2005, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2005 Haiku, Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _STAT_VFS_H_
  • headers/posix/sys/uio.h

     
    11/*
    2  * Copyright 2002-2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_UIO_H
  • headers/posix/sys/time.h

     
     1/*
     2 * Copyright 2002-2008 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _SYS_TIME_H
    26#define _SYS_TIME_H
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
    78
    89#include <sys/types.h>
  • headers/posix/sys/timeb.h

     
    11/*
    2  * Copyright 2002-2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_TIMEB_H
  • headers/posix/sys/param.h

     
    11/*
    2  * Copyright 2002-2007, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_PARAM_H
  • headers/posix/sys/wait.h

     
     1/*
     2 * Copyright 2004-2008 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _SYS_WAIT_H
    26#define _SYS_WAIT_H
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
    78
    89#include <sys/types.h>
  • headers/posix/sys/types.h

     
    11/*
    2  * Copyright 2002-2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_TYPES_H
  • headers/posix/sys/poll.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_POLL_H
  • headers/posix/sys/ioctl.h

     
    11/*
    2  * Copyright 2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_IOCTL_H
    66#define _SYS_IOCTL_H
    77
     8
    89/* These only work on sockets for now */
    910#define FIONBIO     0xbe000000
    1011#define FIONREAD    0xbe000001
  • headers/posix/sys/ipc.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_IPC_H
  • headers/posix/sys/stat.h

     
    11/*
    2  * Copyright 2002-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_STAT_H_
  • headers/posix/sys/utsname.h

     
    11/*
    2  * Copyright 2004-2005, Haiku Inc. All Rights Reserved.
     2 * Copyright 2004-2005 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_UTSNAME_H
  • headers/posix/sys/file.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_FILE_H
  • headers/posix/sys/select.h

     
    11/*
    2  * Copyright 2002-2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_SELECT_H
  • headers/posix/sys/times.h

     
     1/*
     2 * Copyright 2002 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _SYS_TIMES_H
    26#define _SYS_TIMES_H
    3 /*
    4 ** Distributed under the terms of the OpenBeOS License.
    5 */
    67
    78
    89#include <time.h>
  • headers/posix/sys/un.h

     
    11/*
    2  * Copyright 2006, Haiku Inc. All Rights Reserved.
     2 * Copyright 2006 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_UN_H
  • headers/posix/sys/cdefs.h

     
     1/*
     2 * Copyright 2004-2008 Haiku Inc. All Rights Reserved.
     3 * Distributed under the terms of the MIT License.
     4 */
    15#ifndef _SYS_CDEFS_H
    26#define _SYS_CDEFS_H
    37
  • headers/posix/sys/sem.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_SEM_H
    66#define _SYS_SEM_H
    77
     8
    89#include <sys/cdefs.h>
    910#include <sys/ipc.h>
    1011#include <sys/types.h>
  • headers/posix/sys/sockio.h

     
    11/*
    2  * Copyright 2002-2007, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_SOCKIO_H
  • headers/posix/sys/resource.h

     
    11/*
    2  * Copyright 2003-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2003-2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_RESOURCE_H
  • headers/posix/sys/socket.h

     
    11/*
    2  * Copyright 2002-2007, Haiku Inc. All Rights Reserved.
     2 * Copyright 2002-2007 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_SOCKET_H
  • headers/posix/sys/mman.h

     
    11/*
    2  * Copyright 2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2008 Haiku Inc. All Rights Reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55#ifndef _SYS_MMAN_H
    66#define _SYS_MMAN_H
    77
     8
    89#include <sys/cdefs.h>
    910#include <sys/types.h>
    1011