Translation of the word flush

11

I am preparing reference material on functional programming using the OCaml language and would like a good translation into Portuguese of the word flush , commonly found in the description of inbound and outbound operations.

More precisely, I'm needing a translation for the expression flush the standard output .

While writing about OCaml, the concept covered applies to the vast majority of programming languages.

    
asked by anonymous 14.04.2015 / 21:31

2 answers

8

It's not a very nice translation, but in the strict sense, it would be "download" .

In programming, the direction is extended for emptying a content, such as a memory buffer. Streams of files are the most common of having flush operations. That is, in this case a call to a flush method would be to flush the contents of memory into permanent storage.

In the case of standard output buffers, the data download would be from memory to the terminal screen where it can be read.

    
14.04.2015 / 21:41
6

I think a reasonable translation would be unload . So, " flush standard output" would be translated to " unload standard output ".

You can argue (and I would agree) that the term unloading sounds a little strange. But even the original term in English, flush , if you go see it is something very strange and inappropriate.

The same meaning would be something like " completing pending output operations stored in the buffer ".

    
14.04.2015 / 21:45