Searched refs:abUser (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTProcQueryUsername.cpp | 39 char abUser[1024]; local 45 memset(abUser, 0, sizeof(abUser)); 47 RTTESTI_CHECK_RC(RTProcQueryUsername(RTProcSelf(), abUser, 0, &cbUser), VERR_INVALID_PARAMETER); 51 RTTESTI_CHECK_RC(RTProcQueryUsername(RTProcSelf(), abUser, sizeof(abUser), &cbUser), VINF_SUCCESS); 52 RTTestPrintf(NULL, RTTESTLVL_ALWAYS, "Username: %s\n", abUser); 53 RTTESTI_CHECK_RC(RTProcQueryUsername(RTProcSelf(), abUser, cbUser - 1, &cbUser), VERR_BUFFER_OVERFLOW);
|
Completed in 43 milliseconds