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
24
void
format_capacity
(uint64_t bytes,
char
*buffer,
size_t
size);
25
26
#endif
/* CARDSIGHT_SIZE_H */
format_capacity
void format_capacity(uint64_t bytes, char *buffer, size_t size)
Write a decimal capacity into a buffer.
software
include
size.h
Generated by
1.15.0