8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / ucblib / libucb / inc / libc.h
blobc2a7f14f4c35e473fd8b159fbe9b2da83549bc77
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
28 * This is where all the interfaces that are internal to libucb
29 * which do not have a better home live
32 #ifndef _LIBC_H
33 #define _LIBC_H
35 #pragma ident "%Z%%M% %I% %E% SMI"
37 #include <stdio.h>
38 #include <stdarg.h>
39 #include <sys/time.h>
40 #include <sys/regset.h>
41 #include <sys/times.h>
42 #include <sys/ucontext.h>
43 #include <sys/dirent.h>
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
50 * getdents64 transitional interface is intentionally internal to libc
52 extern int getdents64(int, struct dirent64 *, size_t);
55 * defined in port/stdio/doprnt.c
57 extern int _doprnt(char *format, va_list in_args, FILE *iop);
60 * defined in port/gen/_psignal.c
62 extern void _psignal(unsigned int sig, char *s);
65 * defined in _getsp.s
67 extern greg_t _getsp(void);
70 * defined in ucontext.s
72 extern int __getcontext(ucontext_t *);
75 * defined in libc
77 extern int _sigaction(int, const struct sigaction *, struct sigaction *);
80 * External Variables
82 extern void (*_siguhandler[])(int, int, struct sigcontext *, char *);
83 /* for BSD */
86 * defined in port/gen/siglist.c
88 extern char *sys_siglist[];
90 #ifdef __cplusplus
92 #endif
94 #endif /* _LIBC_H */