$OpenBSD: patch-libbluetooth_bluetooth_3,v 1.1 2005/09/06 18:59:19 grange Exp $ --- libbluetooth/bluetooth.3.orig Sat Jul 16 00:17:58 2005 +++ libbluetooth/bluetooth.3 Tue Jul 26 23:36:52 2005 @@ -106,13 +106,13 @@ argument specifies the address family of .Dv AF_BLUETOOTH . .Pp The structure returned contains the information obtained from a line in -.Pa /etc/bluetooth/hosts +.Pa %%SYSCONFDIR%%/bluetooth/hosts file. .Pp The .Fn bt_sethostent function controls whether -.Pa /etc/bluetooth/hosts +.Pa %%SYSCONFDIR%%/bluetooth/hosts file should stay open after each call to .Fn bt_gethostbyname or @@ -124,7 +124,7 @@ flag is non-zero, the file will not be c The .Fn bt_endhostent function closes the -.Pa /etc/bluetooth/hosts +.Pa %%SYSCONFDIR%%/bluetooth/hosts file. .Pp The @@ -151,13 +151,13 @@ argument passed to should have numeric value of the desired Bluetooth Protocol Service Multiplexor. .Pp The structure returned contains the information obtained from a line in -.Pa /etc/bluetooth/protocols +.Pa %%SYSCONFDIR%%/bluetooth/protocols file. .Pp The .Fn bt_setprotoent function controls whether -.Pa /etc/bluetooth/protocols +.Pa %%SYSCONFDIR%%/bluetooth/protocols file should stay open after each call to .Fn bt_getprotobyname or @@ -169,7 +169,7 @@ flag is non-zero, the file will not be c The .Fn bt_endprotoent function closes the -.Pa /etc/bluetooth/protocols +.Pa %%SYSCONFDIR%%/bluetooth/protocols file. .Pp The @@ -187,9 +187,9 @@ string representing the address into the It is up to the caller to ensure that provided buffer has enough space. If no buffer was provided then internal static buffer will be used. .Sh FILES -.Bl -tag -width ".Pa /etc/bluetooth/hosts" -compact -.It Pa /etc/bluetooth/hosts -.It Pa /etc/bluetooth/protocols +.Bl -tag -width ".Pa %%SYSCONFDIR%%/bluetooth/hosts" -compact +.It Pa %%SYSCONFDIR%%/bluetooth/hosts +.It Pa %%SYSCONFDIR%%/bluetooth/protocols .El .Sh EXAMPLES Print out the hostname associated with a specific BD_ADDR: @@ -261,25 +261,25 @@ on EOF or error. The .Fn bt_gethostent function reads the next line of -.Pa /etc/bluetooth/hosts , +.Pa %%SYSCONFDIR%%/bluetooth/hosts , opening the file if necessary. .Pp The .Fn bt_sethostent function opens and/or rewinds the -.Pa /etc/bluetooth/hosts +.Pa %%SYSCONFDIR%%/bluetooth/hosts file. .Pp The .Fn bt_getprotoent function reads the next line of -.Pa /etc/bluetooth/protocols , +.Pa %%SYSCONFDIR%%/bluetooth/protocols , opening the file if necessary. .Pp The .Fn bt_setprotoent function opens and/or rewinds the -.Pa /etc/bluetooth/protocols +.Pa %%SYSCONFDIR%%/bluetooth/protocols file. .Sh AUTHORS .An Maksim Yevmenkin Aq m_evmenkin@yahoo.com