Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: src/untrusted/nosys/llseek.c

Issue 22923022: Make libnosys function stubs part of libnacl (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Move all stub source files into stubs folder Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file.
5 */
6
7
8 /*
9 * Stub routine for `llseek' for porting support.
10 */
11
12 #include <sys/types.h>
13 #include <unistd.h>
14 #include <errno.h>
15
16 int llseek(unsigned int fd, unsigned long offset_high,
17 unsigned long offset_low, long long *result,
18 unsigned int whence) {
19 errno = ENOSYS;
20 return -1;
21 }
22
23 #include "native_client/src/untrusted/nosys/warning.h"
24 stub_warning(llseek);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698