Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / native_client / src / untrusted / nacl / stubs / accept.c
1 /*
2  * Copyright 2014 The Native Client Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6
7 /*
8  * Stub routine for `accept' for porting support.
9  */
10
11 #include <errno.h>
12
13 struct sockaddr;
14
15 int accept(int sockfd, struct sockaddr *addr, void *addrlen) {
16   errno = ENOSYS;
17   return -1;
18 }