public class LibC extends Object
| Constructor and Description |
|---|
LibC() |
| Modifier and Type | Method and Description |
|---|---|
static com.sun.jna.Pointer |
canonicalize_file_name(String name) |
static int |
chdir(String dir) |
static int |
chmod(String filename,
int mode) |
static int |
chown(String filename,
int owner,
int group) |
static int |
closedir(com.sun.jna.Pointer ptr) |
static String |
cuserid(com.sun.jna.Pointer ptr) |
static void |
endgrent() |
static void |
endpwent() |
static int |
errno() |
static int |
fork() |
static long |
get_avphys_pages() |
static com.sun.jna.Pointer |
get_current_dir_name() |
static int |
get_nprocs_conf() |
static int |
get_nprocs() |
static long |
get_phys_pages() |
static int |
getegid() |
static int |
geteuid() |
static int |
getgid() |
static Group |
getgrent() |
static int |
getgroups(int co,
int[] groupIDs) |
static int |
getloadavg(double[] loadavg,
int nelem) |
static String |
getlogin() |
static int |
getpagesize() |
static int |
getpid() |
static int |
getppid() |
static int |
getpriority(int idclass,
int id) |
static Passwd |
getpwent() |
static int |
getuid() |
static int |
link(String oldname,
String newname) |
static int |
mkdir(String name,
int mode) |
static com.sun.jna.Pointer |
opendir(String dirname) |
static dirent |
readdir(com.sun.jna.Pointer ptr) |
static int |
readlink(String filename,
Buffer buffer,
int bufferSize) |
static int |
rename(String oldname,
String newname) |
static int |
rmdir(String dirname) |
static int |
sched_get_priority_max(int policy) |
static int |
sched_get_priority_min(int policy) |
static int |
sched_getparam(int pid,
sched_param param) |
static int |
sched_getscheduler(int pid) |
static int |
sched_setparam(int pid,
sched_param param) |
static int |
sched_setscheduler(int pid,
int policy,
sched_param param) |
static void |
setErrno(int n) |
static void |
setgrent() |
static int |
setpriority(int idclass,
int id,
int niceval)
Установка приоритета
|
static void |
setpwent() |
static String |
strerror(int errno) |
static int |
symlink(String oldname,
String newname) |
static int |
sysconf(int param) |
static int |
umask(int mask) |
static int |
unlink(String filename) |
static int |
vfork() |
public static com.sun.jna.Pointer get_current_dir_name()
public static int chdir(String dir)
public static com.sun.jna.Pointer opendir(String dirname)
public static int closedir(com.sun.jna.Pointer ptr)
public static dirent readdir(com.sun.jna.Pointer ptr)
public static int errno()
public static void setErrno(int n)
public static String strerror(int errno)
public static int unlink(String filename)
public static int rmdir(String dirname)
public static com.sun.jna.Pointer canonicalize_file_name(String name)
public static int mkdir(String name, int mode)
public static int chown(String filename, int owner, int group)
public static int umask(int mask)
public static int chmod(String filename, int mode)
public static void setpwent()
public static Passwd getpwent()
public static void endpwent()
public static void setgrent()
public static Group getgrent()
public static void endgrent()
public static String getlogin()
public static String cuserid(com.sun.jna.Pointer ptr)
public static int getuid()
public static int getgid()
public static int geteuid()
public static int getegid()
public static int getgroups(int co,
int[] groupIDs)
public static int getpid()
public static int getppid()
public static int fork()
public static int vfork()
public static int getpagesize()
public static long get_phys_pages()
public static long get_avphys_pages()
public static int get_nprocs_conf()
public static int get_nprocs()
public static int getloadavg(double[] loadavg,
int nelem)
public static int sched_get_priority_min(int policy)
public static int sched_get_priority_max(int policy)
public static int sysconf(int param)
public static int getpriority(int idclass,
int id)
public static int setpriority(int idclass,
int id,
int niceval)
idclass - Класс: 0 - процесс (id = PID), 1 - группа процсессов, 2 - пользователь (id = UID)id - Идентификаторniceval - Уровеньpublic static int sched_setscheduler(int pid,
int policy,
sched_param param)
public static int sched_getscheduler(int pid)
public static int sched_setparam(int pid,
sched_param param)
public static int sched_getparam(int pid,
sched_param param)
Copyright © 2018. All rights reserved.