home *** CD-ROM | disk | FTP | other *** search
- /*------------------------------------------------------------------*/
- /* ╡{ªí└╔ªW║┘: wat148.c */
- /*------------------------------------------------------------------*/
- #include <stdio.h>
- #include <stdlib.h>
- #include <env.h>
-
- void main()
- {
- char *path;
-
- if(setenv("LIB","C:\WATCOM\LIB386\DOS", 0) == 0)
- if((path = getenv("LIB")) != NULL)
- printf("LIB = %s\n", path);
- }