/[path-sandbox]/trunk/libsbutil/get_sandbox_lib.c
Gentoo

Contents of /trunk/libsbutil/get_sandbox_lib.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 370 - (show annotations) (download) (as text)
Sun Nov 9 10:29:58 2008 UTC (5 years, 8 months ago) by vapier
File MIME type: text/x-csrc
File size: 486 byte(s)
consolidate all random system includes into headers.h
1 /*
2 * get_sandbox_lib.c
3 *
4 * Util functions.
5 *
6 * Copyright 1999-2008 Gentoo Foundation
7 * Licensed under the GPL-2
8 *
9 * Some parts might have Copyright:
10 * Copyright (C) 2002 Brad House <brad@mainstreetsoftworks.com>
11 */
12
13 #include "headers.h"
14 #include "sbutil.h"
15
16 void get_sandbox_lib(char *path)
17 {
18 save_errno();
19 snprintf(path, SB_PATH_MAX, "%s/%s", LIBSANDBOX_PATH, LIB_NAME);
20 if (!rc_file_exists(path)) {
21 snprintf(path, SB_PATH_MAX, "%s", LIB_NAME);
22 }
23 restore_errno();
24 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20