diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-12-01 16:58:31 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:34:16 +0200 |
commit | f8de35da65c5d93bb733073cf40da154bc1c0748 (patch) | |
tree | d28c7644739a24402376d24cb0020ea410a9ccff /libc/msdos/msdos.c | |
parent | c218c617b5be443b7968308506969ad2b726d73c (diff) | |
download | dev86-f8de35da65c5d93bb733073cf40da154bc1c0748.tar.gz |
Import Dev86src-0.0.9.tar.gzv0.0.9
Diffstat (limited to 'libc/msdos/msdos.c')
-rw-r--r-- | libc/msdos/msdos.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libc/msdos/msdos.c b/libc/msdos/msdos.c index 390e904..2d23374 100644 --- a/libc/msdos/msdos.c +++ b/libc/msdos/msdos.c @@ -210,6 +210,28 @@ char ** __argv; } #endif +#ifdef L___mkenvp + +#ifdef __AS386_16__ +#asm + loc 1 ! Make sure the pointer is in the correct segment +auto_func: ! Label for bcc -M to work. + .word ___mkenvp ! Pointer to the autorun function + .text ! So the function after is also in the correct seg. +#endasm +#endif + +char ** environ = 0; + +__mkenvp(__argc, __argv, __envp) +int __argc; +char ** __argv; +char ** __envp; +{ + /* FIXME !!! */ +} +#endif + #ifdef L_dos__fconv /* This function converts filenames from unix like to DOS. */ char * |