Logo
Explore Help
Sign In
factotum/libressl-portable
1
Fork 0
You've already forked libressl-portable
Code Issues Pull Requests Packages Projects Releases Wiki Activity
libressl-portable/include/unistd.h

16 lines
230 B
C
Raw Normal View History

add minimal winsock->BSD networking header shims also add license header to existing shims
2014-11-19 07:43:07 -06:00
/*
* Public domain
* unistd.h compatibility shim
*/
initial top-level import of subdirectories
2014-07-10 06:21:51 -05:00
#include_next <unistd.h>
#ifndef LIBCRYPTOCOMPAT_UNISTD_H
#define LIBCRYPTOCOMPAT_UNISTD_H
Improve and simplify function and header detection logic. Simplify autoconf checks by using AC_CHECK_FUNCS/HEADERS. Clarify some ambiguous dependencies around strnlen/strndup. Unconditionally enable pidwraptest for all arc4random implementations. Remove HAVE_VASPRINTF conditional, since asprintf requires vasprintf. ok @doug
2014-10-29 15:44:36 -05:00
#ifndef HAVE_GETENTROPY
initial top-level import of subdirectories
2014-07-10 06:21:51 -05:00
int getentropy(void *buf, size_t buflen);
Guard individual compatibility header prototypes. This is to avoid redefining prototypes from the libc headers. Also, simplify the autoconf function checks and remove some copy/paste errors checking for 'write'. ok wouter@
2014-07-28 12:09:38 -05:00
#endif
initial top-level import of subdirectories
2014-07-10 06:21:51 -05:00
#endif
Reference in New Issue Copy Permalink
Powered by Gitea
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API