forked from KolibriOS/kolibrios
Update skipped files in previous commit
git-svn-id: svn://kolibrios.org@9766 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -3,35 +3,37 @@
|
||||
|
||||
#include <sys/ksys.h>
|
||||
|
||||
#define SHELL_OK 0
|
||||
#define SHELL_EXIT 1
|
||||
#define SHELL_PUTC 2
|
||||
#define SHELL_PUTS 3
|
||||
#define SHELL_GETC 4
|
||||
#define SHELL_GETS 5
|
||||
#define SHELL_CLS 6
|
||||
#define SHELL_PID 7
|
||||
#define SHELL_PING 8
|
||||
#define SHELL_OK 0
|
||||
#define SHELL_EXIT 1
|
||||
#define SHELL_PUTC 2
|
||||
#define SHELL_PUTS 3
|
||||
#define SHELL_GETC 4
|
||||
#define SHELL_GETS 5
|
||||
#define SHELL_CLS 6
|
||||
#define SHELL_PID 7
|
||||
#define SHELL_PING 8
|
||||
|
||||
#define SHELL_SHM_MAX 1024*16
|
||||
#define SHELL_SHM_MAX 1024 * 16
|
||||
|
||||
extern char __shell_shm_name[32];
|
||||
extern char *__shell_shm;
|
||||
extern char __shell_shm_name[32];
|
||||
extern char* __shell_shm;
|
||||
extern int __shell_is_init;
|
||||
extern void __shell_init();
|
||||
|
||||
#define __SHELL_WAIT() while (*__shell_shm) _ksys_delay(5)
|
||||
#define __SHELL_WAIT() \
|
||||
while (*__shell_shm) \
|
||||
_ksys_delay(5)
|
||||
|
||||
extern int shell_ping();
|
||||
extern int shell_ping();
|
||||
extern unsigned shell_get_pid();
|
||||
extern void shell_exit();
|
||||
|
||||
extern char shell_getc();
|
||||
extern void shell_gets(char *str, int n);
|
||||
extern void shell_gets(char* str, int n);
|
||||
|
||||
extern void shell_putc(char c);
|
||||
extern void shell_puts(const char *str);
|
||||
extern void shell_printf(const char *format,...);
|
||||
extern void shell_puts(const char* str);
|
||||
extern void shell_printf(const char* format, ...);
|
||||
|
||||
extern void shell_cls();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user