forked from KolibriOS/kolibrios
c1e6562f35
- Added shell_ping - Added shell_get_pid - Fixed malloc in stdlib.h - Added check during SHELL init (uses shell_ping) - getc is used like fgetc git-svn-id: svn://kolibrios.org@8635 a494cfbc-eb01-0410-851d-a64ba20cac60
15 lines
429 B
C
15 lines
429 B
C
#ifndef _SHELL_API_H_
|
|
#define _SHELL_API_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
extern void _FUNC(shell_printf)(const char* format, ...);
|
|
extern void _FUNC(shell_puts)(const char *s);
|
|
extern void _FUNC(shell_putc)(char c);
|
|
extern char _FUNC(shell_getc)();
|
|
extern void _FUNC(shell_gets)(char *str);
|
|
extern void _FUNC(shell_cls)();
|
|
extern void _FUNC(shell_exit)();
|
|
extern unsigned _FUNC(shell_get_pid)();
|
|
extern int _FUNC(shell_ping)();
|
|
#endif |