pw_util.3 (d32a66b2a22df44ec11073b9d7b7cf9c130511cb) | pw_util.3 (6c5f7b239f3c1a4e15a7a5707a107a61286a26bb) |
---|---|
1.\" Copyright (c) 2012 Baptiste Daroussin <bapt@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 219 unchanged lines hidden (view full) --- 228only the record corresponding to that user will be updated. 229The 230.Fn pw_mkdb 231function returns 0 in case of success and -1 in case of failure. 232.Pp 233The 234.Fn pw_lock 235function locks the master password file. | 1.\" Copyright (c) 2012 Baptiste Daroussin <bapt@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 219 unchanged lines hidden (view full) --- 228only the record corresponding to that user will be updated. 229The 230.Fn pw_mkdb 231function returns 0 in case of success and -1 in case of failure. 232.Pp 233The 234.Fn pw_lock 235function locks the master password file. |
236It returns a file descriptor to master password file in case of success 237and -1 in case of failure. | 236It returns a file descriptor to the master password file on success 237and -1 on failure. |
238.Pp 239The 240.Fn pw_scan 241function is a wrapper around the internal libc function 242.Fn __pw_scan . 243It scans the master password file for a line corresponding to the 244.Fa line 245provided and return a --- 42 unchanged lines hidden --- | 238.Pp 239The 240.Fn pw_scan 241function is a wrapper around the internal libc function 242.Fn __pw_scan . 243It scans the master password file for a line corresponding to the 244.Fa line 245provided and return a --- 42 unchanged lines hidden --- |