you bet....

Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.wells@saic.com



"Earnie Boyd" <earnie@users.sourceforge.net>
Sent by: mingw-users-admin@lists.sourceforge.net

08/23/2005 11:01 AM
Please respond to mingw-users

       
        To:        <mingw-users@lists.sourceforge.net>
        cc:        
        Subject:        Re: [Mingw-users] Patch for w32api



On 2:03:24 pm 2005-08-23 "WELLS, ROGER K." <ROGER.K.WELLS@saic.com> wrote:
> According to ISO/IEC 9899 International Standard for "C" SEEK_xxx are
> to be defined in stdio.h
> Acording to POSIX Programmers Guide (Levine, O'Reilly & Associates
> Inc) SEEK_xxx are to be defined in stdio.h
> On "gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-52)" the
> following appears in unistd.h:
>
> /* Values for the WHENCE argument to lseek.  */
> #ifndef _STDIO_H                /* <stdio.h> has the same
> definitions.  */ # define SEEK_SET       0       /* Seek from
> beginning of file.  */ # define SEEK_CUR       1       /* Seek from
> current position.  */ # define SEEK_END       2       /* Seek from
> end of file.  */ #endif
>
> so I guess that stdio.h wins for the definitions and we ought to be
> able to do what is done in the RedHat example wrt unistd.h
>

Just more support for ``#include <stdio.h>'' in unistd.h.

Earnie



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users