From f8de35da65c5d93bb733073cf40da154bc1c0748 Mon Sep 17 00:00:00 2001 From: Robert de Bath Date: Sun, 1 Dec 1996 16:58:31 +0100 Subject: Import Dev86src-0.0.9.tar.gz --- libc/msdos/msdos.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'libc/msdos/msdos.c') 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 * -- cgit v1.2.1