Added dp8390 to /usr/etc/rc. Renamed get_mon_prm.c to env_get_prm.c.

Add env_setargs call for access to argc/argv.
This commit is contained in:
Philip Homburg
2005-08-05 14:20:05 +00:00
parent df831bf4a0
commit 473317e571
9 changed files with 117 additions and 164 deletions

View File

@@ -29,16 +29,12 @@
#define EP_SET 3 /* var = 1:2:3 (nonblank field) */
#define EP_EGETKENV 4 /* sys_getkenv() failed ... */
_PROTOTYPE( int get_mon_param, (char *key, char *value, int max_size) );
_PROTOTYPE( void env_setargs, (int argc, char *argv[]) );
_PROTOTYPE( int env_get_param, (char *key, char *value, int max_size) );
_PROTOTYPE( int env_prefix, (char *env, char *prefix) );
_PROTOTYPE( int env_prefix_x, (int argc, char *argv[],
char *env, char *prefix) );
_PROTOTYPE( void env_panic, (char *key) );
_PROTOTYPE( int env_parse, (char *env, char *fmt, int field, long *param,
long min, long max) );
_PROTOTYPE( int env_parse_x, (int argc, char *argv[], char *env,
char *fmt, int field, long *param, long min, long max) );
#define fkey_map(fkeys, sfkeys) fkey_ctl(FKEY_MAP, (fkeys), (sfkeys))
#define fkey_unmap(fkeys, sfkeys) fkey_ctl(FKEY_UNMAP, (fkeys), (sfkeys))