aux.h   aux.h 
skipping to change at line 40 skipping to change at line 40
#else #else
# define LFP_BEGIN_DECLS # define LFP_BEGIN_DECLS
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
# define LFP_END_DECLS } # define LFP_END_DECLS }
#else #else
# define LFP_END_DECLS # define LFP_END_DECLS
#endif #endif
#ifdef GCC
# define ATTRIBUTE_NONNULL __attribute__((nonnull (1)))
#else
# define ATTRIBUTE_NONNULL
#endif
#if (__STDC_VERSION__ - 0) < 199901L #if (__STDC_VERSION__ - 0) < 199901L
// only C99 has restricted pointers // only C99 has restricted pointers
# define restrict # define restrict
#endif #endif
#endif /* _LFP_AUX_H_ */ #endif /* _LFP_AUX_H_ */
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added


 select.h   select.h 
skipping to change at line 33 skipping to change at line 33
/************************************************************************** *****/ /************************************************************************** *****/
#if !defined(_LFP_SELECT_H_) #if !defined(_LFP_SELECT_H_)
# define _LFP_SELECT_H_ # define _LFP_SELECT_H_
#include <lfp/aux.h> #include <lfp/aux.h>
LFP_BEGIN_DECLS LFP_BEGIN_DECLS
#include <sys/select.h> #include <sys/select.h>
#include <string.h>
#include <stdbool.h> #include <stdbool.h>
int lfp_select(int nfds, fd_set *readfds, fd_set *writefds, int lfp_select(int nfds, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, const struct timespec *timeout); fd_set *exceptfds, const struct timespec *timeout);
void lfp_fd_clr(int fd, fd_set *set); void lfp_fd_clr(int fd, fd_set *set);
bool lfp_fd_isset(int fd, fd_set *set); bool lfp_fd_isset(int fd, fd_set *set);
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 socket.h   socket.h 
skipping to change at line 32 skipping to change at line 32
/* DEALINGS IN THE SOFTWARE. */ /* DEALINGS IN THE SOFTWARE. */
/************************************************************************** *****/ /************************************************************************** *****/
#if !defined(_LFP_SOCKET_H_) #if !defined(_LFP_SOCKET_H_)
# define _LFP_SOCKET_H_ # define _LFP_SOCKET_H_
#include <lfp/aux.h> #include <lfp/aux.h>
LFP_BEGIN_DECLS LFP_BEGIN_DECLS
#include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <inttypes.h> #include <inttypes.h>
int lfp_socket(int domain, int type, int protocol, uint64_t flags); int lfp_socket(int domain, int type, int protocol, uint64_t flags);
int lfp_accept(int sockfd, int lfp_accept(int sockfd,
struct sockaddr *addr, struct sockaddr *addr,
socklen_t *addrlen, socklen_t *addrlen,
uint64_t flags); uint64_t flags);
skipping to change at line 53 skipping to change at line 54
struct cmsghdr* lfp_cmsg_firsthdr(struct msghdr* msgh); struct cmsghdr* lfp_cmsg_firsthdr(struct msghdr* msgh);
struct cmsghdr* lfp_cmsg_nxthdr(struct msghdr* msgh, struct cmsghdr* cmsg); struct cmsghdr* lfp_cmsg_nxthdr(struct msghdr* msgh, struct cmsghdr* cmsg);
size_t lfp_cmsg_space(size_t length); size_t lfp_cmsg_space(size_t length);
size_t lfp_cmsg_len(size_t length); size_t lfp_cmsg_len(size_t length);
void* lfp_cmsg_data(struct cmsghdr* cmsg); void* lfp_cmsg_data(struct cmsghdr* cmsg);
int lfp_getpeereid(int socket, uid_t *euid, gid_t *egid);
LFP_END_DECLS LFP_END_DECLS
#endif /* _LFP_SOCKET_H_ */ #endif /* _LFP_SOCKET_H_ */
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added


 stdlib.h   stdlib.h 
skipping to change at line 36 skipping to change at line 36
# define _LFP_STDLIB_H_ # define _LFP_STDLIB_H_
#include <lfp/aux.h> #include <lfp/aux.h>
LFP_BEGIN_DECLS LFP_BEGIN_DECLS
#include <stdlib.h> #include <stdlib.h>
int lfp_mkstemp(char *tmplate); int lfp_mkstemp(char *tmplate);
int lfp_mkostemp(char *tmplate, int flags);
char* lfp_getpath(char *const envp[]); char* lfp_getpath(char *const envp[]);
char* lfp_ptsname(int masterfd); int lfp_ptsname(int masterfd, char *buf, size_t buflen);
LFP_END_DECLS LFP_END_DECLS
#endif /* _LFP_STDLIB_H_ */ #endif /* _LFP_STDLIB_H_ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added


 string.h   string.h 
skipping to change at line 33 skipping to change at line 33
/************************************************************************** *****/ /************************************************************************** *****/
#if !defined(_LFP_STRING_H_) #if !defined(_LFP_STRING_H_)
# define _LFP_STRING_H_ # define _LFP_STRING_H_
#include <lfp/aux.h> #include <lfp/aux.h>
LFP_BEGIN_DECLS LFP_BEGIN_DECLS
#include <sys/types.h> #include <sys/types.h>
#include <inttypes.h>
#include <string.h> #include <string.h>
#include <lfp/strerror.h> #include <lfp/strerror.h>
size_t lfp_strnlen(const char *s, size_t maxlen); size_t lfp_strnlen(const char *s, size_t maxlen);
char* lfp_strndup(const char *s, size_t maxlen); char* lfp_strndup(const char *s, size_t maxlen);
enum lfp_memsize_measure_unit { enum lfp_memsize_measure_unit {
LFP_OCTETS = 0, LFP_OCTETS = 0,
skipping to change at line 57 skipping to change at line 58
LFP_GB, LFP_GB,
LFP_GIB, LFP_GIB,
LFP_TB, LFP_TB,
LFP_TIB, LFP_TIB,
LFP_PB, LFP_PB,
LFP_PIB, LFP_PIB,
LFP_EB, LFP_EB,
LFP_EIB LFP_EIB
}; };
ssize_t lfp_parse_memsize(const char *s, enum lfp_memsize_measure_unit defa ult_unit); int64_t lfp_parse_memsize(const char *s, enum lfp_memsize_measure_unit defa ult_unit);
LFP_END_DECLS LFP_END_DECLS
#endif /* _LFP_STRING_H_ */ #endif /* _LFP_STRING_H_ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added


 unistd.h   unistd.h 
skipping to change at line 56 skipping to change at line 56
ssize_t lfp_pread(int fd, void *buf, size_t count, off_t offset); ssize_t lfp_pread(int fd, void *buf, size_t count, off_t offset);
ssize_t lfp_pwrite(int fd, const void *buf, size_t count, off_t offset); ssize_t lfp_pwrite(int fd, const void *buf, size_t count, off_t offset);
int lfp_truncate(const char *path, off_t length); int lfp_truncate(const char *path, off_t length);
int lfp_ftruncate(int fd, off_t length); int lfp_ftruncate(int fd, off_t length);
int lfp_execve(const char *path, char *const argv[], char *const envp[]) int lfp_execve(const char *path, char *const argv[], char *const envp[])
__attribute__((nonnull (1, 2))); ATTRIBUTE_NONNULL;
int lfp_execvpe(const char *file, char *const argv[], char *const envp[]) int lfp_execvpe(const char *file, char *const argv[], char *const envp[])
__attribute__((nonnull (1, 2))); ATTRIBUTE_NONNULL;
int lfp_getpeereid(int socket, uid_t *euid, gid_t *egid);
LFP_END_DECLS LFP_END_DECLS
#endif /* _LFP_UNISTD_H_ */ #endif /* _LFP_UNISTD_H_ */
 End of changes. 2 change blocks. 
4 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/