2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 2006-2009 Oracle. All rights reserved.
16 * PUBLIC: #ifndef HAVE_FGETS
17 * PUBLIC: char *fgets __P((char *, int, FILE *));
32 while (--n > 0 && (c = fgetc(fp)) != EOF) {
37 if (c == EOF && cs == s)