File: u.h

package info (click to toggle)
wily 0.13.42-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,820 kB
  • sloc: ansic: 25,541; perl: 580; sh: 415; makefile: 400; python: 30; exp: 17
file content (41 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* Copyright (c) 1992 AT&T - All rights reserved. */

/* #ifdef */
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <setjmp.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif /* HAVE_MALLOC_H */

#ifndef HAVE_ULONG
typedef unsigned long	ulong;
#endif
#ifndef HAVE_USHORT
typedef unsigned short	ushort;
#endif
#ifndef HAVE_UINT
typedef unsigned int	uint;
#endif
#ifndef HAVE_UCHAR
typedef unsigned char	uchar;
#endif
#ifndef HAVE_CADDR_T
typedef char *caddr_t;
#endif

#ifndef HAVE_REMOVE
#define remove(x) unlink(x)
#endif

#ifdef BROKEN_SPRINTF
int	Asprintf(char*,char*,...);
#else
#define Asprintf sprintf
#endif