* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
"@(#) Copyright (c) 1980 Regents of the University of California.\n\
static char sccsid
[] = "@(#)printenv.c 5.1 (Berkeley) %G%";
for (ep
= environ
; *ep
; ep
++)
if (argc
== 0 || prefix(argv
[0], *ep
)) {
while (*cp
&& *cp
!= '=')
while (*cp
&& *dp
&& *cp
== *dp
)