System.c revision 2247
381N/A * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. Sun designates this 0N/A * particular file as subject to the "Classpath" exception as provided 0N/A * by Sun in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 0N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 0N/A * CA 95054 USA or visit www.sun.com if you need additional information or 0N/A * have any questions. 0N/A/* Only register the performance-critical methods */ 2247N/A/* "key" is a char type string with only ASCII character in it. 0N/A#
ifndef VENDOR /* Third party may overwrite this. */ 0N/A "Java Platform API Specification");
0N/A /* file system properties */ 0N/A * user.country, user.variant (if user's environment specifies them) 0N/A /* unicode_encoding specifies the default endianness */ 2247N/A /* !!! DO NOT call PUTPROP_ForPlatformNString before this line !!! 0N/A * !!! I18n properties have not been set up yet !!! 0N/A /* Printing properties */ 0N/A /* Note: java.awt.printerjob is an implementation private property which 0N/A * just happens to have a java.* name because it is referenced in 0N/A * a java.awt class. It is the mechanism by which the Sun implementation 0N/A * finds the appropriate class in the JRE for the platform. 0N/A * It is explicitly not designed to be overridden by clients as 0N/A * a way of replacing the implementation class, and in any case 0N/A * the mechanism by which the class is loaded is constrained to only 0N/A * find and load classes that are part of the JRE. 0N/A * This property may be removed if that mechanism is redesigned 0N/A /* Java2D properties */ 0N/A /* Note: java.awt.graphicsenv is an implementation private property which 0N/A * just happens to have a java.* name because it is referenced in 0N/A * a java.awt class. It is the mechanism by which the Sun implementation 0N/A * finds the appropriate class in the JRE for the platform. 0N/A * It is explicitly not designed to be overridden by clients as 0N/A * a way of replacing the implementation class, and in any case 0N/A * the mechanism by which the class is loaded is constrained to only 0N/A * find and load classes that are part of the JRE. 0N/A * This property may be removed if that mechanism is redesigned 0N/A /* This is a sun. property as it is currently only set for Gnome and 0N/A * The following three functions implement setter methods for 0N/A * java.lang.System.{in, out, err}. They are natively implemented 0N/A * because they violate the semantics of the language (i.e. set final 0N/A for (i = 0; i < n; i++) {