Changeset 892 for trunk/src/emx/include


Ignore:
Timestamp:
Dec 11, 2003, 2:30:25 AM (22 years ago)
Author:
bird
Message:

#697: select() & bugfixing.

Location:
trunk/src/emx/include/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/emx/io.h

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r891 r892  
    289289     */
    290290    int (*pfnIOControl)(struct __libc_FileHandle *pFH, int fh, int iIOControl, int iArg, int *prc);
     291    /** Select operation.
     292     * The select operation is only performed if all handles have the same
     293     * select routine (the main worker checks this).
     294     *
     295     * @returns 0 on success.
     296     * @returns OS/2 error code or negated errno on failure.
     297     * @param   cFHs        Range of handles to be tested.
     298     * @param   pRead       Bitmap for file handles to wait upon to become ready for reading.
     299     * @param   pWrite      Bitmap for file handles to wait upon to become ready for writing.
     300     * @param   pExcept     Bitmap of file handles to wait on (error) exceptions from.
     301     * @param   tv          Timeout value.
     302     * @param   prc         Where to store the value which upon success is
     303     *                      returned to the caller.
     304     */
     305    int (*pfnSelect)(int cFHs, struct fd_set *pRead, struct fd_set *pWrite, struct fd_set *pExcept, struct timeval *tv, int *prc);
    291306
    292307} LIBCFHOPS, *PLIBCFHOPS/*, const * PCLIBCFHOPS*/;
  • trunk/src/emx/include/emx/syscalls.h

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r891 r892  
    196196void *__sbrk (int incr);
    197197void __scrsize (int *dst);
    198 int __select (struct _select *args);
     198int __select(int nfds, struct fd_set *readfds, struct fd_set *writefds,
     199             struct fd_set *exceptfds, struct timeval *tv);
    199200int __send (int handle, __const__ void *buf, int len, unsigned flags);
    200201int __sendto (__const__ struct _sendto *args);
Note: See TracChangeset for help on using the changeset viewer.