VirtualBox

Changeset 95587 in vbox


Ignore:
Timestamp:
Jul 11, 2022 9:52:25 AM (2 years ago)
Author:
vboxsync
Message:

IPRT: Added RTStrmWrappedPrintf and RTStrmWrappedPrintfV for some simple output wrapping accoring to the terminal size (80 columns if not terminal). [fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/stream.cpp

    r95586 r95587  
    13091309
    13101310
    1311 
    1312 #define RTSTRMWRAPPED_F_LINE_OFFSET_MASK            UINT32_C(0x00000fff)
    1313 #define RTSTRMWRAPPED_F_NON_TERMINAL_WIDTH_MASK     UINT32_C(0x000ff000)
    1314 #define RTSTRMWRAPPED_F_NON_TERMINAL_WIDTH_SHIFT    12
    1315 #define RTSTRMWRAPPED_F_HANGING_INDENT_MASK         UINT32_C(0x01f00000)
    1316 #define RTSTRMWRAPPED_F_HANGING_INDENT_SHIFT        20
    1317 #define RTSTRMWRAPPED_F_HANGING_INDENT              UINT32_C(0x80000000)
    1318 
    13191311/**
    13201312 * Outputs @a cchIndent spaces.
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