tools/toollib: remove from main Makefile.in
[AROS.git] / compiler / posixc / unsetenv.c
blobf4b08b5abb927288a6b960878b92ef85202fda82
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function unsetenv().
6 */
8 #include <proto/dos.h>
10 /*****************************************************************************
12 NAME */
13 #include <stdlib.h>
15 void unsetenv (
17 /* SYNOPSIS */
18 const char *name)
20 /* FUNCTION
21 deletes a variable from the environment.
23 INPUTS
24 name -- Name of the environment variable to delete.
26 RESULT
27 Returns zero on success, or -1 if the variable was not found.
29 NOTES
31 EXAMPLE
33 BUGS
35 SEE ALSO
37 INTERNALS
39 ******************************************************************************/
41 DeleteVar(name, GVF_LOCAL_ONLY);
42 } /* unsetenv */