CUfileDescr_t(3)
π CUfileDescr_t(3) π
ok so bestie, welcome to the Library Functions Manual β¨ β this is the page for CUfileDescr_t, and honestly? it's a lil one. it's giving "short but essential" vibes fr fr. let's get into it π«Ά
πΈ NAME πΈ
CUfileDescr_t β that's it, that's the name, no cap π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header, like:
#include <cufile.h>
π Data Fields π
ok so this struct has these fields, all iconic in their own way π
const CUfileFSOps_t * fs_opsunion { ... } handleβ and inside that union lives:int fdvoid * handle
enum CUfileFileHandleType type
and yes the union is literally laid out like this in the docs, character for character, don't come for me π
union {
int fd
void * handle
} handle
π¦ Field Documentation π¦
π int CUfileDescr_t::fd
the fd field, scoped to CUfileDescr_t. it's right there, living its truth π
π const CUfileFSOps_t* CUfileDescr_t::fs_ops
the fs_ops field, typed const CUfileFSOps_t*, scoped to CUfileDescr_t. periodt β¨
π void* CUfileDescr_t::handle
the handle field, typed void*, scoped to CUfileDescr_t. a whole void pointer, main character energy tbh π₯
π§ union { ... } CUfileDescr_t::handle
the anonymous union itself, scoped to CUfileDescr_t and also named handle β yes both the union and the pointer inside get the handle name, that's just how it is bestie π
π enum CUfileFileHandleType CUfileDescr_t::type
the type field, typed enum CUfileFileHandleType, scoped to CUfileDescr_t. slay π
β Author β
it was generated automatically by Doxygen for GPUDirect Storage from the source code. not a human, not a group chat, just Doxygen doing its thing π€π
ngl, this page is mostly field names and vibes β but every single one of them is here, so you're covered bestie π«Ά
ok that's the whole thing!! huge shoutout to GPUDirect Storage, and this little beauty is dated Wed Mar 13 2024 πΈ mwah, go forth and use your struct π β¨
π¦ where this page comes from
- debian trixie: libcufile-dev 1.9.1.3~12.4.1-2 Β· GPL-3.0-or-later
- ubuntu questing: libcufile-dev 1.9.1.3~12.4.1-4build1
- ubuntu resolute: libcufile-dev 1.9.1.3~12.4.1-8 Β· GPL-3.0-or-later
- ubuntu stonking: libcufile-dev 1.9.1.3~12.4.1-8.2ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms