FIDO_BIO_INFO_NEW(3)
π FIDO_BIO_INFO_NEW π
okay bestie, pull up a chair, we're doing library functions manual today and honestly? it's giving β¨biometric sensor loreβ¨. this is the fido_bio_info_new(3) page from libfido2, and it's the whole FIDO2 biometric sensor information API β new, free, type, max_samples, the whole girl group. no cap.
β¨ NAME β¨
fido_bio_info_new, fido_bio_info_free, fido_bio_info_type, fido_bio_info_max_samples β FIDO2 biometric sensor information API
like. four functions. one vibe. let's go π
π SYNOPSIS π
#include <fido.h>
#include <fido/bio.h>
fido_bio_info_t *
fido_bio_info_new(void);
void
fido_bio_info_free(fido_bio_info_t **info_p);
uint8_t
fido_bio_info_type(const fido_bio_info_t *info);
uint8_t
fido_bio_info_max_samples(const fido_bio_info_t *info);
look at those includes. two headers. iconic. π¦
πΈ DESCRIPTION πΈ
So. Biometric sensor metadata? In libfido2, all of that is abstracted into the fido_bio_info_t type. That's the main character of this page, fr fr.
The functions described here let a fido_bio_info_t be allocated, deallocated, and inspected. That's the whole arc β birth, death, and a little self-reflection. π«Ά
heads up tho β if you actually wanna do device operations on afido_bio_info_t, that's a different page, bestie. go readfido_bio_dev_get_info(3). iykyk.
π fido_bio_info_new() π
Returns a pointer to a newly allocated, empty fido_bio_info_t type. brand new. fresh out the box. no thoughts, head empty, just vibes β¨
but β if memory cannot be allocated, NULL is returned. no info for you. π
π fido_bio_info_free() π
Releases the memory backing *info_p. and *info_p must have been previously allocated by fido_bio_info_new(). we do not free strangers here, that's not the energy. π
On return, *info_p is set to NULL. clean. tidy. closure. π§
And listen β either info_p or *info_p may be NULL, in which case fido_bio_info_free() is a NOP. literally does nothing. no crash, no drama, just a chill little no-op. we love a low-stakes queen. π
π fido_bio_info_type() π
Returns the fingerprint sensor type. and the values are:
1β for touch sensors2β for swipe sensors
that's it. that's the whole scale. touch girlies and swipe girlies, no in between. π
β fido_bio_info_max_samples() β
Returns the maximum number of successful samples required for enrollment.
translation: how many good finger reads the sensor wants before it'll commit to remembering you. it's a whole situationship but make it biometrics. π₯
π¦ SEE ALSO π¦
go read them. seriously. they're the rest of the friend group and they ate. π
and that's the page, bestie!! πΈ this lil manual came to you from Debian, dated September 13, 2019 β yeah she's a vintage queen but she still serves β¨ mwah, go touch (or swipe) some grass π«Άππ
π¦ where this page comes from
- alpine 3.22: libfido2-doc 1.16.0-r0 Β· BSD-2-Clause
- alpine 3.23: libfido2-doc 1.16.0-r2 Β· BSD-2-Clause
- alpine 3.24: libfido2-doc 1.16.0-r4 Β· BSD-2-Clause
- arch rolling: libfido2 1.17.0-1 Β· BSD-2-Clause
- centos-stream 10: libfido2-devel 1.14.0-7.el10 Β· BSD-2-Clause
- centos-stream 9: libfido2-devel 1.13.0-2.el9 Β· BSD
- centos-stream 9: libfido2-devel 1.13.0-2.el9 Β· BSD
- debian bookworm: libfido2-doc 1.12.0-2 Β· BSD-2-Clause
- debian trixie: libfido2-doc 1.15.0-1 Β· BSD-2-Clause
- fedora 43: libfido2-devel 1.16.0-3.fc43 Β· BSD-2-Clause
- fedora 43: libfido2-devel 1.16.0-3.fc43 Β· BSD-2-Clause
- fedora 44: libfido2-devel 1.16.0-5.fc44 Β· BSD-2-Clause
- fedora 44: libfido2-devel 1.16.0-5.fc44 Β· BSD-2-Clause
- nixos 26.05: fido2-manage 0-unstable-2025-06-06
- nixpkgs unstable: fido2-manage 0-unstable-2025-06-06
- nixpkgs unstable: libfido2 1.17.0
- opensuse-leap 16.0: libfido2-devel 1.15.0-160000.3.2 Β· BSD-2-Clause
- opensuse-leap 16.0: libfido2-devel 1.15.0-160000.3.2 Β· BSD-2-Clause
- opensuse-leap 16.0: libfido2-devel 1.15.0-160000.3.2 Β· BSD-2-Clause
- opensuse-leap 16.0: libfido2-devel 1.15.0-160000.3.2 Β· BSD-2-Clause
- ubuntu noble: libfido2-doc 1.14.0-1build3 Β· BSD-2-Clause
- ubuntu questing: libfido2-doc 1.16.0-2
- ubuntu resolute: libfido2-doc 1.16.0-2build1 Β· BSD-2-Clause
- ubuntu stonking: libfido2-doc 1.17.0-2build1 Β· BSD-2-Clause
- π the page's license: BSD-2-Clause
- Copyright (c) 2019 Yubico AB. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms