VirtualBox

Changeset 31397 in vbox for trunk


Ignore:
Timestamp:
Aug 5, 2010 12:16:10 PM (14 years ago)
Author:
vboxsync
Message:

iprt/getopt.h: docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/getopt.h

    r28800 r31397  
    3838 */
    3939
    40 /** @name RTGETOPTDEF::fFlags
     40/** @name Values for RTGETOPTDEF::fFlags and the fFlags parameter of
     41 *        RTGetOptFetchValue.
    4142 *
    4243 * @remarks When neither of the RTGETOPT_FLAG_HEX, RTGETOPT_FLAG_OCT and RTGETOPT_FLAG_DEC
     
    262263int main(int argc, char **argv)
    263264{
    264      RTR3Init();
     265     int rc = RTR3Init();
     266     if (RT_FAILURE(rc))
     267         return RTMsgInitFailure(rc);
    265268
    266269     static const RTGETOPTDEF s_aOptions[] =
     
    301304     }
    302305
    303      return 0;
     306     return RTEXITCODE_SUCCESS;
    304307}
    305308   @endcode
     
    347350 *                      that require an argument, this contains the value of
    348351 *                      that argument, depending on the type that is required.
    349  * @param   fFlags      The flags.
     352 * @param   fFlags      What to get, that is RTGETOPT_REQ_XXX.
    350353 */
    351354RTDECL(int) RTGetOptFetchValue(PRTGETOPTSTATE pState, PRTGETOPTUNION pValueUnion, uint32_t fFlags);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette