This is stdio_fdopen.c in view mode; [Download] [Up]

 * PCN System
 * Author:      Steve Tuecke
 *              Argonne National Laboratory
 * Please see the DISCLAIMER file in the top level directory of the
 * distribution regarding the provisions under which this software
 * is distributed.
 * stdio_fdopen.c

#include "stdio_internal.h"

void _p_stdio_fdopen(fildes, mode, fp, status)
int_t *fildes;
char_t *mode;
FILE **fp;
int_t *status;
    *fp = fdopen((int) *fildes, (char *) mode);
    if (*fp == (FILE *) NULL)
	*status = (int_t) errno;
	*status = (int_t) 0;

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.