blob: acadce3f271f05d2833790c82922140b539d4dc4 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
5
6#ifndef __USER_H__
7#define __USER_H__
8
Paolo 'Blaisorblade' Giarrusso9cf85b32006-04-10 22:53:31 -07009extern void panic(const char *fmt, ...)
10 __attribute__ ((format (printf, 1, 2)));
11extern int printk(const char *fmt, ...)
12 __attribute__ ((format (printf, 1, 2)));
Linus Torvalds1da177e2005-04-16 15:20:36 -070013extern void schedule(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070014extern int in_aton(char *str);
15extern int open_gdb_chan(void);
Paolo 'Blaisorblade' Giarrussoa8bfb942005-09-22 21:44:14 -070016/* These use size_t, however unsigned long is correct on both i386 and x86_64. */
17extern unsigned long strlcpy(char *, const char *, unsigned long);
18extern unsigned long strlcat(char *, const char *, unsigned long);
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20#endif
21
22/*
23 * Overrides for Emacs so that we follow Linus's tabbing style.
24 * Emacs will notice this stuff at the end of the file and automatically
25 * adjust the settings for this buffer only. This must remain at the end
26 * of the file.
27 * ---------------------------------------------------------------------------
28 * Local variables:
29 * c-file-style: "linux"
30 * End:
31 */