If mode is FALSE, the given stream will be switched to non-blocking mode, and if TRUE, it will be switched to blocking mode.
Si mode vaut FALSE, stream sera configuré en mode non-bloquant, et si il vaut TRUE, stream sera configuré en mode bloquant.