io_uring_get_probe(3)
β¨ io_uring_get_probe β¨
okay bestie, so this one is from the liburing manual, and it's literally the chillest little function ever π she's called io_uring_get_probe and her whole job is getting you a probe instance π¦
πΈ SYNOPSIS πΈ
like, here's how you summon her:
#include <liburing.h>
io_uring_probe *io_uring_get_probe(void);
no arguments, no drama, she just shows up π
π DESCRIPTION π
so io_uring_get_probe(3) hands you back an allocated io_uring_probe structure. it's yours now, bestie π«Ά
and the way that memory works β you are responsible for freeing that structure. not her, not the kernel, you. and you do it with io_uring_free_probe(3). don't forget, i'm literally begging π because if you forget, that's a leak and leaks are not it π
β NOTES β
okay so real talk for a sec. earlier versions of the Linux kernel do not support probe. like, at all. no probe era.
and if the kernel doesn't support probe, this function will return NULL. so likeβ¦ vibe check your return value, always π
π RETURN VALUE π
- on success β an allocated
io_uring_probestructure β¨ slay - otherwise β
NULLπ
that's it. that's the whole spectrum. iconic honestly π
π SEE ALSO π
io_uring_free_probe(3)β the one you call after, bestie, do not skip her π
mwah that's the page!! this is liburing-2.1, dated January 25, 2022, and yes she ate, no cap πβ¨πΈπ¦π
π¦ where this page comes from
- alpine 3.22: liburing-doc 2.9-r0 Β· LGPL-2.1-or-later OR MIT
- alpine 3.23: liburing-doc 2.12-r0 Β· LGPL-2.1-or-later OR MIT
- alpine 3.24: liburing-doc 2.14-r0 Β· LGPL-2.1-or-later OR MIT
- arch rolling: liburing 2.15-1 Β· GPL-2.0-only WITH Linux-syscall-note OR MIT AND LGPL-2.0-or-later AND MIT
- centos-stream 10: liburing-devel 2.12-1.el10 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- centos-stream 9: liburing-devel 2.12-1.el9 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- centos-stream 9: liburing-devel 2.12-1.el9 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- debian bookworm: liburing-dev 2.3-3
- debian trixie: liburing-dev 2.9-1
- fedora 43: liburing-devel 2.9-2.fc43 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 43: liburing-devel 2.9-2.fc43 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 44: liburing-devel 2.13-2.fc44 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 44: liburing-devel 2.13-2.fc44 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- nixpkgs unstable: liburing 2.14
- opensuse-leap 16.0: liburing-devel 2.8-160000.3.1 Β· (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT
- opensuse-leap 16.0: liburing-devel 2.8-160000.3.1 Β· (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT
- opensuse-leap 16.0: liburing-devel 2.8-160000.3.1 Β· (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT
- opensuse-leap 16.0: liburing-devel 2.8-160000.3.1 Β· (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT
- ubuntu noble: liburing-dev 2.5-1build1
- ubuntu questing: liburing-dev 2.11-1
- ubuntu resolute: liburing-dev 2.14-1
- ubuntu stonking: liburing-dev 2.15-1
- π the page's license: LGPL-2.0-or-later
- Copyright (C) 2022 Stefan Roesch <shr@fb.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms