Lines Matching refs:_libc
59 _libc = CDLL('libc.so', use_errno=True)
61 _libc.fopen.restype = c_void_p
62 _libc.free.argtypes = [c_void_p]
63 _libc.free.restype = None
66 _statvfs = getattr(_libc, _statvfs_syscall)
186 _mnttab_FILE = c_void_p(_libc.fopen(mtab, 'r'))
203 r = _libc.getmntent(_mnttab_FILE, byref(mntent))
220 r = _libc.getmntany(_mnttab_FILE, byref(mntmatch), byref(mntent))
242 r = _libc.getextmntent(_mnttab_FILE, byref(extmnt), sizeof(extmnt))
259 _libc.rewind(_mnttab_FILE)
263 _libc.fclose(_mnttab_FILE)
370 _libc.free(datap.contents)
396 _libc.free(datap.contents)
957 _libc.sysinfo.argtypes = [c_int, c_char_p, c_long]
958 _libc.sysinfo.restype = c_int
972 r = _libc.sysinfo(SI_ISALIST, b, SYSINFO_LEN)
990 r = _libc.sysinfo(SI_PLATFORM, b, SYSINFO_LEN)
1008 r = _libc.sysinfo(SI_MACHINE, b, SYSINFO_LEN)
1051 _libc.free(alloced_str)