summaryrefslogtreecommitdiff
path: root/vapi/ExtendedPosix.vapi
blob: 2eaeffefa46cedcc1ba085b7a62f5483296759bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright 2009-2014 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
    }
}