pw.c (d2d022b9fdebd6bfe2983bb688818ed8bfc422a6) | pw.c (bcbdb01e569876034a66c001132994482b048c31) |
---|---|
1/*- 2 * Copyright (C) 1996 3 * David L. Nugent. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 18 unchanged lines hidden (view full) --- 27#ifndef lint 28static const char rcsid[] = 29 "$FreeBSD$"; 30#endif /* not lint */ 31 32#include <err.h> 33#include <fcntl.h> 34#include <locale.h> | 1/*- 2 * Copyright (C) 1996 3 * David L. Nugent. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 18 unchanged lines hidden (view full) --- 27#ifndef lint 28static const char rcsid[] = 29 "$FreeBSD$"; 30#endif /* not lint */ 31 32#include <err.h> 33#include <fcntl.h> 34#include <locale.h> |
35#include <paths.h> 36#include <stdbool.h> 37#include <sys/wait.h> | 35#include <string.h> 36#include <sysexits.h> 37#include <unistd.h> 38 |
38#include "pw.h" 39 40const char *Modes[] = { 41 "add", "del", "mod", "show", "next", 42 NULL}; 43const char *Which[] = {"user", "group", NULL}; 44static const char *Combo1[] = { 45 "useradd", "userdel", "usermod", "usershow", "usernext", --- 335 unchanged lines hidden --- | 39#include "pw.h" 40 41const char *Modes[] = { 42 "add", "del", "mod", "show", "next", 43 NULL}; 44const char *Which[] = {"user", "group", NULL}; 45static const char *Combo1[] = { 46 "useradd", "userdel", "usermod", "usershow", "usernext", --- 335 unchanged lines hidden --- |