|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtux.USysVIPC
public class USysVIPC
Nested Class Summary | |
---|---|
static class |
USysVIPC.s_ipc_perm
Java version of C struct ipc_perm. |
static class |
USysVIPC.s_msqid_ds
Java version of C struct msqid_ds. |
static class |
USysVIPC.s_sembuf
Java version of C struct sembuf. |
static class |
USysVIPC.s_semid_ds
Java version of C struct semid_ds. |
static class |
USysVIPC.s_shmid_ds
Java version of C struct shmid_ds. |
static class |
USysVIPC.u_semun
Java version of C union semun. |
static class |
USysVIPC.u_semun_array
|
static class |
USysVIPC.u_semun_int
|
static class |
USysVIPC.u_semun_struct
|
Constructor Summary | |
---|---|
USysVIPC()
|
Method Summary | |
---|---|
static long |
ftok(java.lang.String path,
int id)
Calls ftok. |
static int |
msg_set_type(long msgtype,
byte[] msgp)
Set message type. |
static void |
msgctl(int msqid,
int cmd,
USysVIPC.s_msqid_ds data)
Calls msgctl. |
static int |
msgget(long key,
int flags)
Calls msgget. |
static int |
msgrcv(int msqid,
byte[] msgp,
int mtextsize,
long msgtype,
int flags)
Calls msgrcv. |
static void |
msgsnd(int msqid,
byte[] msgp,
int msgsize,
int flags)
Calls msgsnd. |
static int |
semctl(int semid,
int semnum,
int cmd,
USysVIPC.u_semun arg)
Calls semctl. |
static int |
semget(long key,
int nsems,
int flags)
Calls semget. |
static void |
semop(int semid,
USysVIPC.s_sembuf[] sops,
int nsops)
Calls semop. |
static long |
shmat(int shmid,
long shmaddr,
int flags)
Calls shmat. |
static void |
shmctl(int shmid,
int cmd,
USysVIPC.s_shmid_ds data)
Calls shmctl. |
static void |
shmdt(long shmaddr)
Calls shmdt. |
static int |
shmget(long key,
int size,
int flags)
Calls shmget. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public USysVIPC()
Method Detail |
---|
public static long ftok(java.lang.String path, int id) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int msg_set_type(long msgtype, byte[] msgp) throws UErrorException
Convenience function (non-standard) to set the first few bytes of a message to the message type. Number of bytes used for the type (typically 4) is retunred. Data should start at the next byte.
UErrorException
public static void msgctl(int msqid, int cmd, USysVIPC.s_msqid_ds data) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int msgget(long key, int flags) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int msgrcv(int msqid, byte[] msgp, int mtextsize, long msgtype, int flags) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void msgsnd(int msqid, byte[] msgp, int msgsize, int flags) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int semctl(int semid, int semnum, int cmd, USysVIPC.u_semun arg) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int semget(long key, int nsems, int flags) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void semop(int semid, USysVIPC.s_sembuf[] sops, int nsops) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static long shmat(int shmid, long shmaddr, int flags) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void shmctl(int shmid, int cmd, USysVIPC.s_shmid_ds data) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void shmdt(long shmaddr) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int shmget(long key, int size, int flags) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |