www.delorie.com/djgpp//doc/libc-2.02/libc_540.html   search  
Go to the first, previous, next, last section, table of contents.


putc

Syntax

#include <stdio.h>

int putc(int c, FILE *file);

Description

This function writes one character to the given file.

Return Value

The character written.

Portability

ANSI, POSIX

Example

while ((c=getc(stdin)) != EOF)
  putc(c, stdout);


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1998     Updated Dec 1998