Newer
Older
snipet / libsc / trunk / include / sc_env.h
Nomura Kei on 26 Aug 2022 847 bytes old svn data to git
/* vim: ts=4 sw=4 sts=4 ff=unix fenc=utf-8 :
 * =====================================================================
 *  sc_env.h
 *  Copyright (c)  2003 - 2011  sys0tem
 *  LICENSE :
 *	LGPL (GNU Lesser General Public License - Version 3,29 June 2007)
 *	http://www.gnu.org/copyleft/lesser.html
 *	or
 *	EPL (Eclipse Public License - v1.0)
 *	http://www.eclipse.org/legal/epl-v10.html
 * =====================================================================
 */
#ifndef __SC_ENV_H__
#define __SC_ENV_H__

#include <stdlib.h>

#include <sc_os.h>
#include <sc_stdbool.h>


#ifdef __cplusplus
extern "C" {
#endif

char* SC_getenv(const char* name);
bool  SC_setenv(const char* name, const char* value, bool overwrite);
bool  SC_unsetenv(const char* name);

#ifdef __cplusplus
}
#endif

#endif	/* __SC_ENV_H__ */