linuxthreads/signal: improve sigaction behavior
[uclibc-ng.git] / libcrypt / crypt_stub.c
blobb74fe5f88f8cb409bc56da64d2cb796f76e9f4be
1 /*
2 * crypt() for uClibc
3 * Copyright (C) 2008 by Erik Andersen <andersen@uclibc.org>
4 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5 */
7 #include <crypt.h>
8 #include <unistd.h>
9 #include "libcrypt.h"
10 #include <syscall.h>
12 char *crypt(const char *key attribute_unused, const char *salt attribute_unused)
14 __set_errno(ENOSYS);
15 return NULL;
18 void
19 setkey(const char *key attribute_unused)
21 __set_errno(ENOSYS);
24 void
25 encrypt(char *block attribute_unused, int flag attribute_unused)
27 __set_errno(ENOSYS);