1.\" Copyright (c) 2018 Yubico AB. All rights reserved. 2.\" Use of this source code is governed by a BSD-style 3.\" license that can be found in the LICENSE file. 4.\" 5.Dd $Mdocdate: February 7 2020 $ 6.Dt FIDO_INIT 3 7.Os 8.Sh NAME 9.Nm fido_init 10.Nd initialise the FIDO 2 library 11.Sh SYNOPSIS 12.In fido.h 13.Ft void 14.Fn fido_init "int flags" 15.Sh DESCRIPTION 16The 17.Fn fido_init 18function initialises the 19.Em libfido2 20library. 21Its invocation must precede that of any other 22.Em libfido2 23function. 24If 25.Dv FIDO_DEBUG 26is set in 27.Fa flags , 28then 29debug output will be emitted by 30.Em libfido2 31on 32.Em stderr . 33Alternatively, the 34.Ev FIDO_DEBUG 35environment variable may be set. 36.Sh SEE ALSO 37.Xr fido_assert_new 3 , 38.Xr fido_cred_new 3 , 39.Xr fido_dev_info_manifest 3 , 40.Xr fido_dev_open 3 41