NOZZLE_CLOSE(3)

πŸ’– NOZZLE_CLOSE(3) πŸ’–

okay bestie, welcome to the Kronosnet Programmer's Manual ✨ this one's short and sweet and honestly iconic for it β€” it's the page that teaches you how to say goodbye to a nozzle device. no cap.


🌸 NAME 🌸

nozzle_close β€” deconfigure and destroy a nozzle device 🫢

like... it's the cleanup girlie. the one who turns off the lights and locks the door.


✨ SYNOPSIS ✨

#include <libnozzle.h>

int nozzle_close(
    nozzle_t  nozzle
);

that's it. one arg. one int. we love a low-effort slay πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

nozzle_close

  • nozzle β€” pointer to the nozzle struct to destroy πŸ’€ like, genuinely destroy it. this is the part where the nozzle device gets deconfigured AND destroyed, so don't come for me when it's gone.
lowkey important: you're handing over a pointer to the struct and the function is gonna tear it down. that's the whole vibe. it's giving "main character exits stage left" 🌈

πŸŽ€ RETURN VALUE πŸŽ€

  • 0 β€” success, we ate, no crumbs πŸ‘‘
  • -1 β€” error, and errno is set 😭 so go check your errno, bestie, it's trying to tell you something

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr:

(psst β€” nozzle_open(3) is literally the opening act to this closing act. iykyk 🧚)


Copyright (C) 2010-2026 Red Hat, Inc. All rights reserved.


okay and that's the whole page, periodt. 🌟 this was NOZZLE_CLOSE(3) from the kronosnet crew, dated 2026-07-20 β€” go forth and close your nozzles responsibly, bestie πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from