drm_syncobj_get_fd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is drm_syncobj_get_fd(9) from the Kernel API Manual, and it's literally giving β€œget a file descriptor from a syncobj”. that's the whole name, bestie β€” no cap. πŸ’…


✨ SYNOPSIS ✨

here's the signature, and yes you should keep it exactly like this:

int drm_syncobj_get_fd (struct drm_syncobj *syncobj , int *p_fd );

🫢 ARGUMENTS 🫢

  • syncobj β€” Sync object to export. this is the sync object you're exporting, bestie. πŸ¦‹
  • p_fd β€” out parameter with the new file descriptor. it's an out parameter, and it's where the new file descriptor goes. periodt. πŸŽ€

🌸 DESCRIPTION 🌸

so what it does is Exports a sync object created with drm_syncobj_create as a file descriptor. iconic behavior, honestly. πŸ”₯

and the return vibe? it Returns 0 on success or a negative error value on failure. that's it, that's the tea. πŸ“


πŸ¦‹ SEE ALSO πŸ¦‹


xoxo πŸ’– that's the whole page, bestie β€” brought to you by the ./drivers/gpu/drm source tree, dated October 2026, page drm_syncobj_get_fd(9). bye! πŸŽ€βœ¨

πŸ“¦ where this page comes from