Changeset 86579 in vbox for trunk/include/iprt/linux
- Timestamp:
- Oct 14, 2020 8:53:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/linux/sysfs.h
r82968 r86579 446 446 const char *pszPattern, ...) RT_IPRT_FORMAT_ATTR(5, 6); 447 447 448 /** 449 * Constructs the path of a sysfs file from the format parameters passed, 450 * prepending "/sys/" if the path is relative. 451 * 452 * @returns IPRT status code. 453 * @param pszPath Where to write the path. 454 * @param cbPath The size of the buffer pointed to by @a pszPath. 455 * @param pszFormat The name format, either absolute or relative to "/sys/". 456 * @param va The format args. 457 */ 458 RTDECL(int) RTLinuxConstructPathV(char *pszPath, size_t cbPath, const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(3, 0); 459 460 /** 461 * Constructs the path of a sysfs file from the format parameters passed, 462 * prepending "/sys/" if the path is relative. 463 * 464 * @returns IPRT status code. 465 * @param pszPath Where to write the path. 466 * @param cbPath The size of the buffer pointed to by @a pszPath. 467 * @param pszFormat The name format, either absolute or relative to "/sys/". 468 * @param ... The format args. 469 */ 470 RTDECL(int) RTLinuxConstructPath(char *pszPath, size_t cbPath, const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(3, 4); 471 448 472 /** @} */ 449 473
Note:
See TracChangeset
for help on using the changeset viewer.