CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
size.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
7
8#ifndef CARDSIGHT_SIZE_H
9#define CARDSIGHT_SIZE_H
10
11#include <stddef.h>
12#include <stdint.h>
13
24void format_capacity(uint64_t bytes, char *buffer, size_t size);
25
26#endif /* CARDSIGHT_SIZE_H */
void format_capacity(uint64_t bytes, char *buffer, size_t size)
Write a decimal capacity into a buffer.