1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00
Gisle Vanem 6fe619be7a docs/examples/httpput.c: fix build for MSVC
"Dan Fandrich" <dan@coneharvesters.com> wrote:

>> But I'm not sure <unistd.h> is needed at all.
>
> It's needed for close(2). But the only reason that's needed is because fstat
> is used instead of stat(2); if you fix that, then you could remove that
> include altogether.

Okay. I've tested the following with MSVC and MingW. htttput.c now
simply uses stat():
2013-10-27 15:48:57 +01:00
..
2010-04-14 17:34:57 +02:00
2013-01-13 23:16:11 +01:00
2013-08-06 14:12:45 +02:00
2013-10-20 23:57:24 +02:00
2010-02-14 19:40:18 +00:00
FAQ
2013-08-24 17:13:46 +02:00
2013-04-23 21:41:38 +02:00
2013-08-06 14:13:33 +02:00
2013-08-06 14:13:33 +02:00
2011-12-30 03:53:25 +01:00
2010-02-14 19:40:18 +00:00
2010-02-14 19:40:18 +00:00
2010-04-19 11:16:30 +02:00

                                  _   _ ____  _
                              ___| | | |  _ \| |
                             / __| | | | |_) | |
                            | (__| |_| |  _ <| |___
                             \___|\___/|_| \_\_____|

README.win32

  Read the README file first.

  Curl has been compiled, built and run on all sorts of Windows and win32
  systems. While not being the main develop target, a fair share of curl users
  are win32-based.

  The unix-style man pages are tricky to read on windows, so therefore are all
  those pages converted to HTML as well as pdf, and included in the release
  archives.

  The main curl.1 man page is also "built-in" in the command line tool. Use a
  command line similar to this in order to extract a separate text file:

        curl -M >manual.txt

  Read the INSTALL file for instructions how to compile curl self.