Serenity Operating System
1/*
2 * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 */
6
7#pragma once
8
9#include <Kernel/API/POSIX/sys/types.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15enum {
16 DT_UNKNOWN = 0,
17#define DT_UNKNOWN DT_UNKNOWN
18 DT_FIFO = 1,
19#define DT_FIFO DT_FIFO
20 DT_CHR = 2,
21#define DT_CHR DT_CHR
22 DT_DIR = 4,
23#define DT_DIR DT_DIR
24 DT_BLK = 6,
25#define DT_BLK DT_BLK
26 DT_REG = 8,
27#define DT_REG DT_REG
28 DT_LNK = 10,
29#define DT_LNK DT_LNK
30 DT_SOCK = 12,
31#define DT_SOCK DT_SOCK
32 DT_WHT = 14
33#define DT_WHT DT_WHT
34};
35
36#ifdef __cplusplus
37}
38#endif