- Timestamp:
- Aug 5, 2010 12:16:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/getopt.h
r28800 r31397 38 38 */ 39 39 40 /** @name RTGETOPTDEF::fFlags 40 /** @name Values for RTGETOPTDEF::fFlags and the fFlags parameter of 41 * RTGetOptFetchValue. 41 42 * 42 43 * @remarks When neither of the RTGETOPT_FLAG_HEX, RTGETOPT_FLAG_OCT and RTGETOPT_FLAG_DEC … … 262 263 int main(int argc, char **argv) 263 264 { 264 RTR3Init(); 265 int rc = RTR3Init(); 266 if (RT_FAILURE(rc)) 267 return RTMsgInitFailure(rc); 265 268 266 269 static const RTGETOPTDEF s_aOptions[] = … … 301 304 } 302 305 303 return 0;306 return RTEXITCODE_SUCCESS; 304 307 } 305 308 @endcode … … 347 350 * that require an argument, this contains the value of 348 351 * 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. 350 353 */ 351 354 RTDECL(int) RTGetOptFetchValue(PRTGETOPTSTATE pState, PRTGETOPTUNION pValueUnion, uint32_t fFlags);
Note:
See TracChangeset
for help on using the changeset viewer.