Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

RTDECL ( size_t   ) 

Partial vsprintf worker implementation.

Returns:
number of bytes formatted.
Parameters:
pfnOutput Output worker. Called in two ways. Normally with a string an it's length. For termination, it's called with NULL for string, 0 for length.
pvArg Argument to output worker.
pszFormat Format string.
args Argument list.
Prints a formatted string to the serial port used for logging.

Returns:
Number of bytes written.
Parameters:
pszFormat Format string.
... Optional arguments specified in the format string.
Prints a formatted string to the serial port used for logging.

Returns:
Number of bytes written.
Parameters:
pszFormat Format string.
args Optional arguments specified in the format string.

Definition at line 876 of file heapoffset.cpp.

{
    PRTHEAPOFFSETINTERNAL pHeapInt;

    if (hHeap == NIL_RTHEAPOFFSET)
        return 0;

    pHeapInt = hHeap;
    AssertPtrReturn(pHeapInt, 0);
    ASSERT_ANCHOR(pHeapInt);
    return pHeapInt->cbHeap;
}


Generated by  Doxygen 1.6.0   Back to index