summaryrefslogtreecommitdiff
path: root/vapi/ExtendedPosix.vapi
blob: d196bda664c332aa7a3e0a43227b98c90a46b4cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright 2009-2015 Yorba Foundation
 *
 * This software is licensed under the GNU LGPL (version 2.1 or later).
 * See the COPYING file in this distribution.
 */

[CCode (cprefix="", lower_case_cprefix="")]
namespace ExtendedPosix {
    [CCode (cheader_filename="unistd.h")]
    public long sysconf(int name);
    
    [CCode (cprefix="", lower_case_cprefix="")]
    enum ConfName {
        _SC_NPROCESSORS_CONF,
        _SC_NPROCESSORS_ONLN
    }
}