Changeset 10de842 in mainline
- Timestamp:
- 2018-01-04T19:28:42Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d0b319
- Parents:
- db3089d
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:28:42)
- Files:
-
- 1 added
- 12 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rdb3089d r10de842 136 136 $(ERRNO_HEADER): $(ERRNO_INPUT) 137 137 echo '/* Generated file. Edit errno.in instead. */' > $@.new 138 sed 's/__errno_entry(\([^,]*\),\([^,]*\),.*/#define \1 \2/' < $< >> $@.new138 sed 's/__errno_entry(\([^,]*\),\([^,]*\),.*/#define \1 __errno_t(\2)/' < $< >> $@.new 139 139 mv $@.new $@ 140 140 -
abi/include/_bits/opaque_handle.h
rdb3089d r10de842 1 1 /* 2 * Copyright (c) 201 3 Martin Sucha2 * Copyright (c) 2017 CZ.NIC, z.s.p.o. 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup http 29 /* Authors: 30 * Jiří Zárevúcky (jzr) <zarevucky.jiri@gmail.com> 31 */ 32 33 /** @addtogroup bits 30 34 * @{ 31 35 */ 32 /**33 * @file34 */35 36 36 #ifndef HTTP_ERRNO_H_37 #define HTTP_ERRNO_H_37 #ifndef _BITS_OPAQUE_HANDLE_H_ 38 #define _BITS_OPAQUE_HANDLE_H_ 38 39 39 #include <errno.h> 40 41 #define HTTP_EMULTIPLE_HEADERS -20001 42 #define HTTP_EMISSING_HEADER -20002 43 #define HTTP_EPARSE -20003 40 #define opaque_handle(__name) typedef struct __opaque_##__name *__name 44 41 45 42 #endif -
abi/include/abi/errno.h
rdb3089d r10de842 1 1 /* Generated file. Edit errno.in instead. */ 2 #define EOK 0 3 #define ENOENT -1 4 #define ENOMEM -2 5 #define ELIMIT -3 6 #define EREFUSED -4 7 #define EFORWARD -5 8 #define EPERM -6 9 #define EHANGUP -7 10 #define EPARTY -8 11 #define EEXIST -9 12 #define EBADMEM -10 13 #define ENOTSUP -11 14 #define EADDRNOTAVAIL -12 15 #define ETIMEOUT -13 16 #define EINVAL -14 17 #define EBUSY -15 18 #define EOVERFLOW -16 19 #define EINTR -17 20 #define EMFILE -18 21 #define ENAMETOOLONG -256 22 #define EISDIR -257 23 #define ENOTDIR -258 24 #define ENOSPC -259 25 #define ENOTEMPTY -261 26 #define EBADF -262 27 #define EDOM -263 28 #define ERANGE -264 29 #define EXDEV -265 30 #define EIO -266 31 #define EMLINK -267 32 #define ENXIO -268 33 #define ENOFS -269 34 #define EBADCHECKSUM -300 35 #define ESTALL -301 36 #define EEMPTY -302 37 #define ENAK -303 38 #define EAGAIN -11002 2 #define EOK __errno_t( 0) 3 #define ENOENT __errno_t( -1) 4 #define ENOMEM __errno_t( -2) 5 #define ELIMIT __errno_t( -3) 6 #define EREFUSED __errno_t( -4) 7 #define EFORWARD __errno_t( -5) 8 #define EPERM __errno_t( -6) 9 #define EHANGUP __errno_t( -7) 10 #define EPARTY __errno_t( -8) 11 #define EEXIST __errno_t( -9) 12 #define EBADMEM __errno_t( -10) 13 #define ENOTSUP __errno_t( -11) 14 #define EADDRNOTAVAIL __errno_t( -12) 15 #define ETIMEOUT __errno_t( -13) 16 #define EINVAL __errno_t( -14) 17 #define EBUSY __errno_t( -15) 18 #define EOVERFLOW __errno_t( -16) 19 #define EINTR __errno_t( -17) 20 #define EMFILE __errno_t( -18) 21 #define ENAMETOOLONG __errno_t( -256) 22 #define EISDIR __errno_t( -257) 23 #define ENOTDIR __errno_t( -258) 24 #define ENOSPC __errno_t( -259) 25 #define ENOTEMPTY __errno_t( -261) 26 #define EBADF __errno_t( -262) 27 #define EDOM __errno_t( -263) 28 #define ERANGE __errno_t( -264) 29 #define EXDEV __errno_t( -265) 30 #define EIO __errno_t( -266) 31 #define EMLINK __errno_t( -267) 32 #define ENXIO __errno_t( -268) 33 #define ENOFS __errno_t( -269) 34 #define EBADCHECKSUM __errno_t( -300) 35 #define ESTALL __errno_t( -301) 36 #define EEMPTY __errno_t( -302) 37 #define ENAK __errno_t( -303) 38 #define EAGAIN __errno_t( -11002) 39 40 #define HTTP_EMULTIPLE_HEADERS __errno_t( -20001) 41 #define HTTP_EMISSING_HEADER __errno_t( -20002) 42 #define HTTP_EPARSE __errno_t( -20003) 43 44 #define EXT4_ERR_BAD_DX_DIR __errno_t( -75000) -
abi/include/abi/errno.in
rdb3089d r10de842 35 35 __errno_entry(EEMPTY , -302, "Resource is empty") 36 36 __errno_entry(ENAK , -303, "Negative acknowledgement") 37 __errno_entry(EAGAIN , -11002, "Operation could not proceed. Try again.") 37 __errno_entry(EAGAIN , -11002, "Operation could not proceed, try again") 38 39 __errno_entry(HTTP_EMULTIPLE_HEADERS , -20001, "HTTP: Multiple headers") // libhttp error codes. Defining them here is a temporary hack. 40 __errno_entry(HTTP_EMISSING_HEADER , -20002, "HTTP: Missing header") 41 __errno_entry(HTTP_EPARSE , -20003, "HTTP: Parse error") 42 43 __errno_entry(EXT4_ERR_BAD_DX_DIR , -75000, "EXT4: Filesystem corrupted") // libext4 -
abi/include/abi/ipc/ipc.h
rdb3089d r10de842 70 70 71 71 /* Macros for manipulating calling data */ 72 #define IPC_SET_RETVAL(data, retval) ((data).args[0] = ( retval))72 #define IPC_SET_RETVAL(data, retval) ((data).args[0] = (sysarg_t) (retval)) 73 73 #define IPC_SET_IMETHOD(data, val) ((data).args[0] = (val)) 74 74 #define IPC_SET_ARG1(data, val) ((data).args[1] = (val)) … … 79 79 80 80 #define IPC_GET_IMETHOD(data) ((data).args[0]) 81 #define IPC_GET_RETVAL(data) (( data).args[0])81 #define IPC_GET_RETVAL(data) ((errno_t) (data).args[0]) 82 82 83 83 #define IPC_GET_ARG1(data) ((data).args[1]) -
kernel/generic/include/errno.h
rdb3089d r10de842 36 36 #define KERN_ERRNO_H_ 37 37 38 typedef int errno_t; 39 38 #include <_bits/errno.h> 40 39 #include <abi/errno.h> 41 40 -
kernel/generic/include/typedefs.h
rdb3089d r10de842 37 37 38 38 #include <arch/types.h> 39 #include <_bits/errno.h> 39 40 40 41 typedef struct { -
uspace/app/sbi/src/mytypes.h
rdb3089d r10de842 53 53 /** We need NULL defined. */ 54 54 #include <stddef.h> 55 56 #ifndef EOK 55 57 #define EOK 0 58 #endif 56 59 57 60 #include "bigint_t.h" -
uspace/lib/c/include/errno.h
rdb3089d r10de842 36 36 #define LIBC_ERRNO_H_ 37 37 38 typedef int errno_t; 39 38 #include <_bits/errno.h> 40 39 #include <abi/errno.h> 41 40 -
uspace/lib/c/include/types/common.h
rdb3089d r10de842 45 45 46 46 #include <_bits/all.h> 47 #include <_bits/errno.h> 47 48 48 49 #endif -
uspace/lib/ext4/include/ext4/types.h
rdb3089d r10de842 476 476 } ext4_directory_dx_block_t; 477 477 478 #define EXT4_ERR_BAD_DX_DIR (-75000)479 478 #define EXT4_DIRECTORY_HTREE_EOF UINT32_C(0x7fffffff) 480 479 -
uspace/lib/http/src/headers.c
rdb3089d r10de842 34 34 */ 35 35 36 #include <errno.h> 36 37 #include <stdio.h> 37 38 #include <stdlib.h> … … 41 42 #include <http/http.h> 42 43 #include <http/ctype.h> 43 #include <http/errno.h>44 44 45 45 #define HTTP_HEADER_LINE "%s: %s\r\n" -
uspace/lib/http/src/response.c
rdb3089d r10de842 34 34 */ 35 35 36 #include <errno.h> 36 37 #include <stdio.h> 37 38 #include <stdlib.h> … … 40 41 41 42 #include <http/http.h> 42 #include <http/errno.h>43 43 44 44 static bool is_digit(char c)
Note:
See TracChangeset
for help on using the changeset viewer.