TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Edwards
from: andrew clarke
date: 1995-12-07 20:10:44
subject: fgets

> Why is fgets defined as...

 > char *fgets(char *s, int n, FILE *stream);

 > instead of 

 > char *fgets(char *s, size_t n, FILE *stream);

Interesting.  Perhaps some bright spark thought the situation where you
would want to read in a string longer than INT_MAX would never arise.

That's not so bad, is it?

--- Msgedsq/2 3.20
* Origin: Blizzard of Ozz, Melbourne, Australia (3:633/267.1{at}fidonet)
SEEN-BY: 50/99 620/243 623/630 632/348 360 998 633/154 260 267 371 373 374
SEEN-BY: 634/384 635/301 502 503 544 639/252 711/401 409 410 413 430 510 807
SEEN-BY: 711/808 809 932 934 712/515 713/888 714/906 800/1 7877/2809
@PATH: 633/267 374 371 635/503 50/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.