[go: up one dir, main page]

File: lib.h

package info (click to toggle)
colo 1.16-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,080 kB
  • ctags: 2,267
  • sloc: ansic: 11,478; makefile: 308; asm: 121; sh: 52
file content (34 lines) | stat: -rw-r--r-- 695 bytes parent folder | download
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
/*
 * (C) P.Horton 2004
 *
 * $Id: lib.h 80 2004-05-23 14:14:49Z pdh $
 *
 * This code is covered by the GNU General Public License. For details see the file "COPYING".
 */

#ifndef _CLIB_H_
#define _CLIB_H_

#define __STR(x)				#x
#define _STR(x)				__STR(x)

typedef unsigned char		uint8_t;
typedef unsigned short		uint16_t;
typedef unsigned				uint32_t;

typedef unsigned				size_t;

/* libmem.c */

extern void *memcpy(void *, const void *, size_t);
extern void *memset(void *, int, size_t);
extern int memcmp(const void *, const void *, size_t);

/* lcd.c */

extern void lcd_init(void);
extern void lcd_line(int, const char *);

#endif

/* vi:set ts=3 sw=3 cin path=include,../include: */