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 thenozzlestruct 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, anderrnois set π so go check yourerrno, bestie, it's trying to tell you something
π₯ SEE ALSO π₯
the whole friend group, fr fr:
nozzle_set_mtu(3)nozzle_get_fd(3)nozzle_get_mtu(3)nozzle_reset_mtu(3)nozzle_set_up(3)nozzle_get_ips(3)nozzle_set_down(3)nozzle_reset_mac(3)nozzle_get_handle_by_name(3)nozzle_run_updown(3)nozzle_open(3)nozzle_del_ip(3)nozzle_get_mac(3)nozzle_set_mac(3)nozzle_get_name_by_handle(3)nozzle_add_ip(3)
(psst β nozzle_open(3) is literally the opening act to this closing act. iykyk π§)
π COPYRIGHT π
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
- fedora 43: libnozzle1-devel 1.35-1.fc43 Β· LGPL-2.1-or-later
- fedora 43: libnozzle1-devel 1.35-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libnozzle1-devel 1.35-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: libnozzle1-devel 1.35-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms