GFS_PIO_FLUSH(3)
π GFS_PIO_FLUSH(3) π
okay bestie, welcome to the Gfarm section 3 manual, and today's main character is gfs_pio_flush β the little function that makes sure your data actually leaves the building. no cap. β¨
πΈ NAME πΈ
gfs_pio_flush β flush a stream πΏ
π SYNOPSIS π
#include <gfarm/gfarm.h>
gfarm_error_t gfs_pio_flush(GFS_File gf);
π¦ DESCRIPTION π¦
so here's the tea: gfs_pio_flush() forces a write of all user-space buffered data for the given output gf. like, everything that was just chillin' in the buffer? it's going out. now. not later, not when the buffer feels like it β right now. it's giving "we're leaving, grab your coat" energy. π
(also note it says output gf β this is a write-flush situation, iykyk.)
β¨ RETURN VALUES β¨
GFARM_ERR_NO_ERRORβ slay π the function terminated successfully. everything worked, no notes, iconic behavior.GFARM_ERR_NO_MEMORYβ π insufficient memory was available. the vibe check failed, there was simply not enough room.- Others β some other error happened that isn't either of the two above π. the reason gets shown to you by
gfarm_error_string(3), so go read that to find out what went wrong, bestie.
π SEE ALSO π
and that's the whole page, bestie β this was Gfarm, dated 20 Jun 2019, signing off with a little sparkle β¨π«Ά go forth and flush responsibly π
π¦ where this page comes from
- debian bookworm: libgfarm-dev 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: libgfarm-dev 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu jammy: libgfarm-dev 2.7.17+dfsg-1build2 Β· BSD-like
- ubuntu noble: libgfarm-dev 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: libgfarm-dev 2.7.20+dfsg-1.2
- ubuntu resolute: libgfarm-dev 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: libgfarm-dev 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms