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

Side by Side Diff: src/untrusted/nosys/getegid.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: Code review feedback 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
« no previous file with comments | « src/untrusted/nosys/get_current_dir_name.c ('k') | src/untrusted/nosys/geteuid.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 `getegid' for porting support.
10 */
11
12 #include <unistd.h>
13 #include <sys/types.h>
14 #include <errno.h>
15
16 gid_t getegid(void) {
17 errno = ENOSYS;
18 return -1;
19 }
20
21 #include "native_client/src/untrusted/nosys/warning.h"
22 stub_warning(getegid);
Sam Clegg 2013/08/23 21:55:51 Can you remove all the stub warnings?
Petr Hosek 2013/08/23 22:34:56 They should be all gone already, do you seen any l
Sam Clegg 2013/08/23 22:36:33 Oops, my bad. Was reading the wrong side of the d
OLDNEW
« no previous file with comments | « src/untrusted/nosys/get_current_dir_name.c ('k') | src/untrusted/nosys/geteuid.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698