getenv programming

getenv(“POSIXLY_CORRECT”) = NULL The getenv() function searches the environment list to find the environment variable name, and returns a pointer to the corresponding value string. if the output is NULL then it means that POSIXLY_CORRECT environment variable is not set to true. so the current program may not try to run in strict POSIX mode. …