pwd.h (42780) | pwd.h (90644) |
---|---|
1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)pwd.h 8.2 (Berkeley) 1/21/94 | 1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)pwd.h 8.2 (Berkeley) 1/21/94 |
39 * $FreeBSD: head/include/pwd.h 90644 2002-02-14 01:59:47Z imp $ |
|
39 */ 40 41#ifndef _PWD_H_ 42#define _PWD_H_ 43 44#include <sys/types.h> 45 46#ifndef _POSIX_SOURCE --- 53 unchanged lines hidden (view full) --- 100__BEGIN_DECLS 101struct passwd *getpwuid __P((uid_t)); 102struct passwd *getpwnam __P((const char *)); 103#ifndef _POSIX_SOURCE 104struct passwd *getpwent __P((void)); 105int setpassent __P((int)); 106void setpwent __P((void)); 107void endpwent __P((void)); | 40 */ 41 42#ifndef _PWD_H_ 43#define _PWD_H_ 44 45#include <sys/types.h> 46 47#ifndef _POSIX_SOURCE --- 53 unchanged lines hidden (view full) --- 101__BEGIN_DECLS 102struct passwd *getpwuid __P((uid_t)); 103struct passwd *getpwnam __P((const char *)); 104#ifndef _POSIX_SOURCE 105struct passwd *getpwent __P((void)); 106int setpassent __P((int)); 107void setpwent __P((void)); 108void endpwent __P((void)); |
109char *user_from_uid __P((uid_t, int)); |
|
108#endif 109__END_DECLS 110 111#endif /* !_PWD_H_ */ | 110#endif 111__END_DECLS 112 113#endif /* !_PWD_H_ */ |