Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Stream, standard streams?

Também chamado de: stream · standard streams

Definition 6.8 University Computer Science — Year 1 · Capítulo 6 — Strings, Structures and Files

A stream is the C library’s access to a file or a device: a FILE * returned by fopen, through which the program reads or writes bytes in order, the library collecting them in a buffer and passing them to the system in large blocks. Three standard streams are open when main starts: stdin (standard input), stdout (standard output) and stderr (standard error, for messages, not fully buffered).

Ler no capítulo →