Changeset 120d5bc in mainline for uspace/lib/c/generic/cap.c


Ignore:
Timestamp:
2017-09-13T20:49:43Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5918c00
Parents:
6c4eedf
Message:

Let df give 'human-readable' output by default. Use cap.h for better capacity formatting. Let -b print block size and numbers of blocks for each FS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/cap.c

    r6c4eedf r120d5bc  
    8181 * and @c cv_max gives the maximum value.
    8282 */
    83 int cap_spec_to_blocks(cap_spec_t *cap, cap_vsel_t cvsel, size_t block_size,
     83int cap_to_blocks(cap_spec_t *cap, cap_vsel_t cvsel, size_t block_size,
    8484    uint64_t *rblocks)
    8585{
Note: See TracChangeset for help on using the changeset viewer.