File: lib.h

package info (click to toggle)
rlpr 2.06-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,600 kB
  • sloc: ansic: 10,078; sh: 3,856; makefile: 375; yacc: 316
file content (40 lines) | stat: -rw-r--r-- 951 bytes parent folder | download | duplicates (8)
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
#ifndef	LIB_H
#define	LIB_H

#include <config.h>
#include <stddef.h>

/* 
 * Copyright (c) 1998 peter memishian (meem), meem@gnu.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 */

void	*xmalloc(size_t);
char	*xstrdup(const char *);

#ifndef	HAVE_ALLOCA
void	*alloca(size_t);
#endif

#ifndef	HAVE_STRCASECMP
int	strcasecmp(const char *, const char *);
#endif

#ifndef	HAVE_STRDUP
char	*strdup(const char *);
#endif

#ifndef	HAVE_STRSTR
char	*strstr(const char *, const char *);
#endif

#endif	/* LIB_H */