2025-06-11 18:18:52 +08:00
|
|
|
#include <stdlib.h>
|
2025-06-11 20:30:44 +08:00
|
|
|
#include <errno.h>
|
2025-06-11 18:18:52 +08:00
|
|
|
|
2025-06-11 20:30:44 +08:00
|
|
|
int cliteClearenv()
|
|
|
|
|
{
|
|
|
|
|
extern char **environ;
|
|
|
|
|
if (environ != NULL)
|
|
|
|
|
{
|
|
|
|
|
*environ = NULL;
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
2025-06-11 18:18:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int cliteErrno() { return errno; }
|