| 1 | /* $Id: libc.h 1618 2004-11-07 14:19:42Z bird $ */
|
|---|
| 2 | /** @file
|
|---|
| 3 | *
|
|---|
| 4 | * Global LIBC stuff.
|
|---|
| 5 | *
|
|---|
| 6 | * Copyright (c) 2004 knut st. osmundsen <[email protected]>
|
|---|
| 7 | *
|
|---|
| 8 | *
|
|---|
| 9 | * This file is part of InnoTek LIBC.
|
|---|
| 10 | *
|
|---|
| 11 | * InnoTek LIBC is free software; you can redistribute it and/or modify
|
|---|
| 12 | * it under the terms of the GNU General Public License as published by
|
|---|
| 13 | * the Free Software Foundation; either version 2 of the License, or
|
|---|
| 14 | * (at your option) any later version.
|
|---|
| 15 | *
|
|---|
| 16 | * InnoTek LIBC is distributed in the hope that it will be useful,
|
|---|
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 19 | * GNU General Public License for more details.
|
|---|
| 20 | *
|
|---|
| 21 | * You should have received a copy of the GNU General Public License
|
|---|
| 22 | * along with InnoTek LIBC; if not, write to the Free Software
|
|---|
| 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|---|
| 24 | *
|
|---|
| 25 | */
|
|---|
| 26 |
|
|---|
| 27 | #ifndef __InnoTekLIBC_libc_h__
|
|---|
| 28 | #define __InnoTekLIBC_libc_h__
|
|---|
| 29 |
|
|---|
| 30 | #include <sys/cdefs.h>
|
|---|
| 31 | #include <sys/signal.h>
|
|---|
| 32 |
|
|---|
| 33 | __BEGIN_DECLS
|
|---|
| 34 |
|
|---|
| 35 | /** Disable (some) unix imitation features.
|
|---|
| 36 | *
|
|---|
| 37 | * If non-zero, '\\' is prefered over '/', and a bunch of other unix
|
|---|
| 38 | * imitations are dropped.
|
|---|
| 39 | *
|
|---|
| 40 | * Initiated by __init_dll().
|
|---|
| 41 | */
|
|---|
| 42 | extern int __libc_gfNoUnix;
|
|---|
| 43 |
|
|---|
| 44 | /** Signal set of the signals which will interrupt system call execution.
|
|---|
| 45 | * By default all signals will interrupt syscall execution, since OS/2 can't really
|
|---|
| 46 | * restart system calls easily.
|
|---|
| 47 | * Update is protected by the signal semaphore, however read access isn't.
|
|---|
| 48 | */
|
|---|
| 49 | extern sigset_t __libc_gSignalRestartMask;
|
|---|
| 50 |
|
|---|
| 51 | __END_DECLS
|
|---|
| 52 |
|
|---|
| 53 | #endif
|
|---|