Linux

  1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: flush
Command Library

NAME

flush - Flush buffered output for a channel  

SYNOPSIS

flush channelId



 

DESCRIPTION

Flushes any output that has been buffered for channelId. ChannelId must be a channel identifier such as returned by a previous open or socket command, and it must have been opened for writing. If the channel is in blocking mode the command does not return until all the buffered output has been flushed to the channel. If the channel is in nonblocking mode, the command may return before all buffered output has been flushed; the remainder will be flushed in the background as fast as the underlying file or device is able to absorb it.

 

SEE ALSO

file(n), open(n), socket(n)

 

KEYWORDS

blocking, buffer, channel, flush, nonblocking, output


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

About.com Special Features

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.