diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-15 09:16:45 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-15 09:16:45 -0500 |
commit | dd27e5399ebcf0be7d88585592a3fc3db774cea9 (patch) | |
tree | d7d74d52ce9ac65067900312eb193fe05515c9b1 | |
parent | d8f267afb5e7d036d0b23125e23b916336b19fa4 (diff) | |
download | gcompat-dd27e5399ebcf0be7d88585592a3fc3db774cea9.tar.gz gcompat-dd27e5399ebcf0be7d88585592a3fc3db774cea9.tar.bz2 gcompat-dd27e5399ebcf0be7d88585592a3fc3db774cea9.tar.xz gcompat-dd27e5399ebcf0be7d88585592a3fc3db774cea9.zip |
ucontext: new module
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | libgcompat/ucontext.c | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -14,6 +14,7 @@ LIBGCOMPAT_SRC = \ libgcompat/stdlib.c \ libgcompat/string.c \ libgcompat/sysctl.c \ + libgcompat/ucontext.c \ libgcompat/version.c LIBGCOMPAT_OBJ = ${LIBGCOMPAT_SRC:.c=.o} LIBGCOMPAT_SOVERSION = 0 diff --git a/libgcompat/ucontext.c b/libgcompat/ucontext.c new file mode 100644 index 0000000..2d6006e --- /dev/null +++ b/libgcompat/ucontext.c @@ -0,0 +1,7 @@ +#include <errno.h> /* errno, ENOSYS */ + +int getcontext(void *ucp) +{ + errno = ENOSYS; + return -1; +} |