781f3f0fab
- Added shell apis(shell_api.h) - Added functions for working with a named shared memory area(ksys.h). - Fixed itoa git-svn-id: svn://kolibrios.org@8629 a494cfbc-eb01-0410-851d-a64ba20cac60
22 lines
377 B
C
22 lines
377 B
C
|
|
#include <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
|
|
|
|
extern char __shell_shm_name[32];
|
|
extern char *__shell_shm;
|
|
extern int __shell_is_init;
|
|
extern int __shell_init();
|
|
extern void __shell_wait();
|
|
|
|
#define SHELL_WAIT() while (*__shell_shm) _ksys_delay(5)
|
|
|
|
|
|
|