From a5f69788de7ac07553de47f7fec8c05a9a94c105 Mon Sep 17 00:00:00 2001 From: craigm Date: Thu, 20 Apr 2006 08:17:22 -0700 Subject: PSARC 2006/162 Extended FILE space for 32-bit Solaris processes 1085341 32-bit stdio routines should support file descriptors >255 6369408 fflush(NULL); will corrupt data written on files in multithreaded apps --- usr/src/uts/common/sys/file.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr/src/uts/common/sys/file.h') diff --git a/usr/src/uts/common/sys/file.h b/usr/src/uts/common/sys/file.h index b18c92391d..20300002c5 100644 --- a/usr/src/uts/common/sys/file.h +++ b/usr/src/uts/common/sys/file.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -24,7 +23,7 @@ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -193,6 +192,7 @@ extern char f_getfd(int); extern int f_setfd_error(int, int); extern void f_setfd(int, char); extern int f_getfl(int, int *); +extern int f_badfd(int, int *, int); extern int fassign(struct vnode **, int, int *); extern void fcnt_add(uf_info_t *, int); extern void close_exec(uf_info_t *); -- cgit v1.2.3