.Dd November 8, 1999 .Dt login_fbtab 3 .Os .Sh NAME .Nm login_fbtab .Nd implement device security based on .Pa /etc/fstab .Sh SYNOPSIS .Fd #include .Ft void .Fn login_fbtab "char *tty" "uid_t uid" "gid_t gid" .Sh DESCRIPTION The .Fn login_fbtab function reads the .Pa /etc/fbtab file and implements device security as described in the .Xr fbtab 5 manual page. .Pp If errors occur a null string is returned. .Sh DIAGNOSTICS Problems are reported via the .Xr syslogd 8 daemon with the severity of .Dv LOG_ERR . .Sh FILES .Bl -tag -width /etc/fbtab -compact .It Pa /etc/fbtab .El .Sh SEE ALSO .Xr fbtab 5 .Sh BUGS This module uses .Xr strtok 3 , which may cause conflicts with other uses of that same routine. .Sh AUTHOR .Bd -unfilled -offset indent Wietse Venema (wietse@wzv.win.tue.nl) Eindhoven University of Technology The Netherlands .Ed