summaryrefslogtreecommitdiff
path: root/Userland/Utilities/stat.cpp
AgeCommit message (Collapse)Author
2021-12-04stat: Modernize slightly :^)Andreas Kling
- Port to LibMain - Use AK::Format instead of printf()
2021-08-12Kernel+LibC: Use 64 bit values for ino_tLiav A
Since the InodeIndex encapsulates a 64 bit value, it is correct to ensure that the Kernel is exposing the entire value and the LibC is aware of it. This commit requires an entire re-compile because it's essentially a change in the Kernel ABI, together with a corresponding change in LibC.
2021-05-14LibC: Move makedev(), major(), minor(), to sys/types.hJean-Baptiste Boric
It's technically not specified by POSIX, but it appears most Unix-like systems worth mentioning put those definitions there. Also, it's more logical since the dev_t type is defined there.
2021-05-03Userland: Fix 64-bit portability issuesGunnar Beutner
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-03-17Userland: Fix printf specifiers with off_tJean-Baptiste Boric
In theory we should probably use the 'j' qualifier, but we don't support it.
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling