1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. 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 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint |
35#if 0 |
36static const char sccsid[] = "@(#)genget.c 8.2 (Berkeley) 5/30/95"; |
37#else 38static const char rcsid[] = 39 "$FreeBSD: head/contrib/telnet/libtelnet/genget.c 63248 2000-07-16 05:48:49Z peter $"; 40#endif |
41#endif /* not lint */ 42 43 44#include <ctype.h> 45 46#define LOWER(x) (isupper(x) ? tolower(x) : (x)) 47/* 48 * The prefix function returns 0 if *s1 is not a prefix --- 61 unchanged lines hidden --- |