blob: 207523a73ecacd49d7a3272ed58dd5e473878bea [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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef IO_PRIVATE_H
8#define IO_PRIVATE_H
Jorge Ramirez-Ortizeaa63b42018-09-23 09:40:45 +02009
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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000020#endif /* IO_PRIVATE_H */