Changeset 8a637a4 in mainline for uspace/lib/nettl


Ignore:
Timestamp:
2015-09-30T17:47:41Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1f7584
Parents:
a955fcc
Message:

remove EEXISTS in favor of EEXIST

Location:
uspace/lib/nettl/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nettl/src/amap.c

    ra955fcc r8a637a4  
    349349 * @param aepp Place to store actual endpoint pair, possibly with allocated port
    350350 *
    351  * @return EOK on success, EEXISTS if conflicting epp exists,
     351 * @return EOK on success, EEXIST if conflicting epp exists,
    352352 *         ENOMEM if out of memory
    353353 */
     
    394394 * @param aepp Place to store actual endpoint pair, possibly with allocated port
    395395 *
    396  * @return EOK on success, EEXISTS if conflicting epp exists,
     396 * @return EOK on success, EEXIST if conflicting epp exists,
    397397 *         ENOMEM if out of memory
    398398 */
     
    438438 * @param aepp Place to store actual endpoint pair, possibly with allocated port
    439439 *
    440  * @return EOK on success, EEXISTS if conflicting epp exists,
     440 * @return EOK on success, EEXIST if conflicting epp exists,
    441441 *         ENOMEM if out of memory
    442442 */
     
    482482 * @param aepp Place to store actual endpoint pair, possibly with allocated port
    483483 *
    484  * @return EOK on success, EEXISTS if conflicting epp exists,
     484 * @return EOK on success, EEXIST if conflicting epp exists,
    485485 *         ENOMEM if out of memory
    486486 */
     
    515515 * @param aepp Place to store actual endpoint pair, possibly with allocated port
    516516 *
    517  * @return EOK on success, EEXISTS if conflicting epp exists,
     517 * @return EOK on success, EEXIST if conflicting epp exists,
    518518 *         ENOMEM if out of memory
    519519 */
  • uspace/lib/nettl/src/portrng.c

    ra955fcc r8a637a4  
    8888 * @param apnum Place to store allocated port number
    8989 *
    90  * @return EOK on success, ENOENT if no free port number found, EEXISTS
     90 * @return EOK on success, ENOENT if no free port number found, EEXIST
    9191 *         if @a pnum is specified but it is already allocated,
    9292 *         EINVAL if @a pnum is specified from the system range, but
     
    137137                        if (port->pn == pnum) {
    138138                                log_msg(LOG_DEFAULT, LVL_DEBUG2, "port already used");
    139                                 return EEXISTS;
     139                                return EEXIST;
    140140                        }
    141141                }
Note: See TracChangeset for help on using the changeset viewer.