ftp.nice.ch/pub/next/unix/developer/pcn.2.0.s.tar.gz#/src/stdio/stdio_ungetc.c

This is stdio_ungetc.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_ungetc.c
 */

#include "stdio_internal.h"

void _p_stdio_ungetc(c, fp, cout)
int_t *c;
FILE **fp;
int_t *cout;
{
    char c_char = (char) *c;
    *cout = (int_t) ungetc(c_char, *fp); 
}

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