1 /*******************************************************************************/ 2 /* Permission is hereby granted, free of charge, to any person or organization */ 3 /* obtaining a copy of the software and accompanying documentation covered by */ 4 /* this license (the "Software") to use, reproduce, display, distribute, */ 5 /* execute, and transmit the Software, and to prepare derivative works of the */ 6 /* Software, and to permit third-parties to whom the Software is furnished to */ 7 /* do so, all subject to the following: */ 8 /* */ 9 /* The copyright notices in the Software and this entire statement, including */ 10 /* the above license grant, this restriction and the following disclaimer, */ 11 /* must be included in all copies of the Software, in whole or in part, and */ 12 /* all derivative works of the Software, unless such copies or derivative */ 13 /* works are solely in the form of machine-executable object code generated by */ 14 /* a source language processor. */ 15 /* */ 16 /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */ 17 /* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, */ 18 /* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT */ 19 /* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE */ 20 /* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, */ 21 /* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER */ 22 /* DEALINGS IN THE SOFTWARE. */ 23 /*******************************************************************************/ 24 25 #if !defined(_LPF_ERRNO_H_) 26 # define _LPF_ERRNO_H_ 27 28 #include <lfp/aux.h> 29 30 LFP_BEGIN_DECLS 31 32 #include <errno.h> 33 34 #define EBUG 10000 35 36 int lfp_errno(void); 37 38 int lfp_set_errno(int value); 39 40 LFP_END_DECLS 41 42 #endif /* _LPF_ERRNO_H_ */ 43