Back to index

glibc  2.9
Functions
putc.c File Reference
#include "libioP.h"
#include "stdio.h"

Go to the source code of this file.

Functions

int _IO_putc (int c, _IO_FILE *fp)

Function Documentation

int _IO_putc ( int  c,
_IO_FILE fp 
)

Definition at line 26 of file putc.c.

{
  int result;
  CHECK_FILE (fp, EOF);
  _IO_acquire_lock (fp);
  result = _IO_putc_unlocked (c, fp);
  _IO_release_lock (fp);
  return result;
}