View | Details | Raw Unified | Return to bug 88460
Collapse All | Expand All

(-)getent-dan/Makefile (-1 / +1 lines)
Lines 1-4 Link Here
1
#	$NetBSD: Makefile,v 1.2 2004/11/29 05:02:52 lukem Exp $
1
#	$FreeBSD$
2
2
3
WARNS=	3
3
WARNS=	3
4
PROG=	getent
4
PROG=	getent
(-)getent-dan/getent.1 (-1 / +5 lines)
Lines 34-39 Link Here
34
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35
.\" POSSIBILITY OF SUCH DAMAGE.
35
.\" POSSIBILITY OF SUCH DAMAGE.
36
.\"
36
.\"
37
.\" $FreeBSD$
38
.\"
37
.Dd August 24, 2005
39
.Dd August 24, 2005
38
.Dt GETENT 1
40
.Dt GETENT 1
39
.Os
41
.Os
Lines 118-124 or 3 if there is no support for enumerat Link Here
118
A
120
A
119
.Nm
121
.Nm
120
command appeared in
122
command appeared in
121
.Nx 3.0 .
123
.Nx 3.0 ,
124
and was imported into 
125
.Fx 7.0 .
122
It was based on the command of the same name in
126
It was based on the command of the same name in
123
.Tn Solaris
127
.Tn Solaris
124
and
128
and
(-)getent-dan/getent.c (-1 / +6 lines)
Lines 37-47 Link Here
37
 */
37
 */
38
38
39
#include <sys/cdefs.h>
39
#include <sys/cdefs.h>
40
#if 0
40
#ifndef lint
41
#ifndef lint
41
__RCSID("$NetBSD: getent.c,v 1.7 2005/08/24 14:31:02 ginsbach Exp $");
42
__RCSID("$NetBSD: getent.c,v 1.7 2005/08/24 14:31:02 ginsbach Exp $");
42
#endif /* not lint */
43
#endif /* not lint */
44
#endif
45
46
__FBSDID("$FreeBSD$");
43
47
44
#include <sys/socket.h>
48
#include <sys/socket.h>
49
#include <sys/param.h>
45
50
46
#include <assert.h>
51
#include <assert.h>
47
#include <ctype.h>
52
#include <ctype.h>
Lines 60-66 __RCSID("$NetBSD: getent.c,v 1.7 2005/08 Link Here
60
#include <arpa/nameser.h>
65
#include <arpa/nameser.h>
61
66
62
#include <net/if.h>
67
#include <net/if.h>
63
#include <net/if_ether.h>
68
#include <netinet/if_ether.h>
64
69
65
#include <netinet/in.h>		/* for INET6_ADDRSTRLEN */
70
#include <netinet/in.h>		/* for INET6_ADDRSTRLEN */
66
71

Return to bug 88460