3 ms·
> close() flushes the application buffer into the vfs buffer No, close() only closes the file descriptor. fclose() potentially also flushes a userspace buffer.
by zAy0LfpBZLC8mAC 7y ago
> close() flushes the application buffer into the vfs buffer
No, close() only closes the file descriptor. fclose() potentially also flushes a userspace buffer.