blob: d0e66c01b46a413ec7156676aa4cb320ae07f693 [file] [log] [blame]
Jorge Ramirez-Ortizeaa63b42018-09-23 09:40:45 +02001/*
2 * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef IO_PRIVATE_H_
8#define IO_PRIVATE_H_
9
10/*
11 * Return codes reported by 'io_*' APIs
12 * The value of fail should not overlap with define of the errno.
13 * The errno is in "include/lib/stdlib/sys/errno.h".
14 */
15#define IO_SUCCESS (0)
16#define IO_FAIL (-0x81)
17#define IO_NOT_SUPPORTED (-0x82)
18#define IO_RESOURCES_EXHAUSTED (-0x83)
19
20#endif