comparison usr/src/tools/cscope-fast/input.c @ 9:2027089f4c3a

cscope-fast getline conflicts with getline in illumos
author Andrew Stormont <andyjstormont@gmail.com>
date Wed, 29 Feb 2012 06:38:16 +0000
parents 1a15d5aaf794
children
comparison
equal deleted inserted replaced
8:d2a803ab280b 9:2027089f4c3a
16 * If applicable, add the following below this CDDL HEADER, with the 16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying 17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * 19 *
20 * CDDL HEADER END 20 * CDDL HEADER END
21 *
22 * Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
21 */ 23 */
22 /* Copyright (c) 1988 AT&T */ 24 /* Copyright (c) 1988 AT&T */
23 /* All Rights Reserved */ 25 /* All Rights Reserved */
24 26
25 27
89 } 91 }
90 92
91 /* get a line from the terminal in non-canonical mode */ 93 /* get a line from the terminal in non-canonical mode */
92 94
93 int 95 int
94 getline(char s[], size_t size, int firstchar, BOOL iscaseless) 96 mygetline(char s[], size_t size, int firstchar, BOOL iscaseless)
95 { 97 {
96 int c, i = 0; 98 int c, i = 0;
97 int j; 99 int j;
98 100
99 /* if a character already has been typed */ 101 /* if a character already has been typed */