libc_open.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
1N/A * The contents of this file are subject to the terms of the 1N/A * Common Development and Distribution License, Version 1.0 only 1N/A * (the "License"). You may not use this file except in compliance 1N/A * See the License for the specific language governing permissions 1N/A * and limitations under the License. 1N/A * When distributing Covered Code, include this CDDL HEADER in each 1N/A * If applicable, add the following below this CDDL HEADER, with the 1N/A * fields enclosed by brackets "[]" replaced with your own identifying 1N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1N/A * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 1N/A * Use is subject to license terms. 1N/A/* Copyright (c) 1988 AT&T */ 1N/A/* All Rights Reserved */ 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A * XPG4v2 requires that open of a slave pseudo terminal device 1N/A * provides the process with an interface that is identical to 1N/A * the terminal interface. For a more detailed discussion, 1N/A * see bugid 4025044. 1N/A * The 32-bit APIs to large files require this interposition. 1N/A * The 64-bit APIs just fall back to _open() above. 1N/A * XPG4v2 requires that open of a slave pseudo terminal device 1N/A * provides the process with an interface that is identical to 1N/A * the terminal interface. For a more detailed discussion, 1N/A * see bugid 4025044. 1N/A * Checks if the file matches an entry in the /dev/pts directory 1N/A * Converts a number to a string (null terminated). 1N/A * Push modules to provide tty semantics