Ignore:
Timestamp:
Nov 13, 2005, 12:59:18 PM (20 years ago)
Author:
bird
Message:

Created proper backend for fcntl removing F_GETOSFD in the process. Using fcntl to set O_NONBLOCK on sockets works now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/backend.h

    r2438 r2439  
    465465ssize_t __libc_Back_ioDirGetEntries(int fh, void *pvBuf, size_t cbBuf, __off_t *poff);
    466466
     467/**
     468 * File Control.
     469 *
     470 * Deals with file descriptor flags, file descriptor duplication and locking.
     471 *
     472 * @returns 0 on success and *piRet set.
     473 * @returns Negated errno on failure and *piRet set to -1.
     474 * @param   fh          File handle (descriptor).
     475 * @param   iRequest    Which file file descriptior request to perform.
     476 * @param   iArg        Argument which content is specific to each
     477 *                      iRequest operation.
     478 * @param   prc         Where to store the value which upon success is
     479 *                      returned to the caller.
     480 */
     481int __libc_Back_ioFileControl(int fh, int iRequest, intptr_t iArg, int *prc);
     482
     483/**
     484 * File Control operation - OS/2 standard handle.
     485 *
     486 * @returns 0 on success.
     487 * @returns OS/2 error code or negated errno on failure.
     488 *
     489 * @param   pFH         Pointer to the handle structure to operate on.
     490 * @param   fh          It's associated filehandle.
     491 * @param   iRequest    Which file file descriptior request to perform.
     492 * @param   iArg        Argument which content is specific to each
     493 *                      iRequest operation.
     494 * @param   prc         Where to store the value which upon success is
     495 *                      returned to the caller.
     496 */
     497int __libc_Back_ioFileControlStandard(__LIBC_PFH pFH, int fh, int iRequest, intptr_t iArg, int *prc);
     498   
    467499/**
    468500 * Try resolve a filehandle to a path.
Note: See TracChangeset for help on using the changeset viewer.