/********************************************************************** Copyright (c) 2000, 2002 IBM Corp. and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html Contributors: R M Yorston - Initial implementation Vicente Fernando - www.alfersoft.com.ar **********************************************************************/ package net.sourceforge.phpdt.internal.debug.core; public class Environment { static { java.lang.System.loadLibrary("Environment"); } private Environment() { } /** * Gets an environment variable. An environment variable is a * system-dependent external variable that has a string value. * * @param name name of the environment variable * @return the value of the variable, or null if the * variable is not defined. */ public static native String getenv(String name) ; /** * Sets an environment variable. An environment variable is a * system-dependent external variable that has a string value. * * @param name name of the environment variable * @param value value to set * @return 1 if variable could be set, 0 if not. */ public static native String setenv(String name, String value) ; }