mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
377 B
377 B
Name
clearenv - clear the environment
Synopsis
#include <stdlib.h>
clearenv();
Description
Clears all environment variables and sets the external
variable environ to NULL.
Return value
The clearenv() function returns zero.
Examples
#include <stdlib.h>
int main()
{
clearenv();
putenv("PATH=/bin");
return 0;
}