summaryrefslogtreecommitdiff
path: root/components/libc/compilers/newlib/sys/statfs.h
blob: 0996af9a189d202fd17048c6e80f7e799edf87dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 */
#ifndef __RTT_STATFS_H__
#define __RTT_STATFS_H__

#include <rtthread.h>

struct statfs
{
    rt_size_t f_bsize;   /* block size */
    rt_size_t f_blocks;  /* total data blocks in file system */
    rt_size_t f_bfree;   /* free blocks in file system */
};

#endif