cURL / Mailing Lists / curl-library / Single Mail


FILE * => fd ?

From: Daniel Stenberg <>
Date: Tue, 7 Aug 2001 23:38:44 +0200 (MET DST)

Hi ho

I friendly soul named 'ck1' posted the following suggestion in the curl web
site feedback section [], and I think it is
worth discussing:

  Using FILE * in the libcurl API introduces a serious limitation since (at
  least in the *nix falvours I know) you can fopen only the first 256 files.
  This means, that an application that first opens or fopens 256 files has no
  chance to use libcurl. Using open and file descriptors instead of FILE *
  would solve the problem. This implies a minor API change/enhancement.

(His original post is found here:

Any comments?

     Daniel Stenberg -- curl dude --
Curl-library mailing list
Received on 2001-08-07