VirtualBox

Changeset 97646 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 22, 2022 1:02:48 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154697
Message:

IPRT: Added RTProcSignalName and a generic implementation of it.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r96864 r97646  
    18521852# define RTProcSetPriority                              RT_MANGLER(RTProcSetPriority)
    18531853# define RTProcShortName                                RT_MANGLER(RTProcShortName)
     1854# define RTProcSignalName                               RT_MANGLER(RTProcSignalName)
    18541855# define RTProcTerminate                                RT_MANGLER(RTProcTerminate)
    18551856# define RTProcWait                                     RT_MANGLER(RTProcWait)
  • trunk/include/iprt/process.h

    r96407 r97646  
    115115#endif
    116116
     117
     118/**
     119 * Translate a signal number to a short name on the form SIGXXXX.
     120 *
     121 * If the signal is not known, it will be formatted as a number into one of
     122 * several static buffers.  This means that there could be concurrency issues if
     123 * this suddenly happens on multiple threads, though that is unlikely.
     124 *
     125 * @returns Readonly string naming the signal.
     126 * @param   iSignal         The signal to name.
     127 */
     128RTDECL(const char *) RTProcSignalName(int iSignal);
    117129
    118130#ifdef IN_RING3
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