A B C D E F G I K L M N O P Q R S T U

A

addMember(int, int) - Method in class posix.CPtr.Struct
Add a member by size and alignment mask.
addSignalListener(SignalListener) - Method in class posix.Signal
 
AlignmentException - Exception in posix
Report an access to C memory that violates platform dependent alignment restrictions.
AlignmentException(String) - Constructor for exception posix.AlignmentException
 
alignOf(int) - Static method in class posix.CPtr
Get the alignment of a C type.
atime - Variable in class posix.Stat
Time of last access
attach() - Method in class posix.SharedMem
Attach the shared memory for read/write at any available logical address.

B

BLK - Static variable in class posix.Stat
 
blksize - Variable in class posix.Stat
Optimal blocksize for filesystem.
blocks - Variable in class posix.Stat
Actual number of blocks allocated.

C

CBYTE_TYPE - Static variable in class posix.CPtr
Type codes for alignOf() and sizeOf().
cbytes - Variable in class posix.MsgQ.msqid_ds
 
CDBL_TYPE - Static variable in class posix.CPtr
Type codes for alignOf() and sizeOf().
CFLT_TYPE - Static variable in class posix.CPtr
Type codes for alignOf() and sizeOf().
cgid - Variable in class posix.IPC.Perm
 
chmod(String, int) - Static method in class posix.Stat
Set the user and group of a file.
chown(String, int, int) - Static method in class posix.Stat
Set the user and group of a file.
CHR - Static variable in class posix.Stat
 
CINT_TYPE - Static variable in class posix.CPtr
Type codes for alignOf() and sizeOf().
CLONG_TYPE - Static variable in class posix.CPtr
Type codes for alignOf() and sizeOf().
copyIn(int, byte[], int, int) - Method in class posix.CPtr
Copy a Java byte array into C memory.
copyOut(int, byte[], int, int) - Method in class posix.CPtr
Copy bytes out of C memory into a Java byte array.
CPtr - Class in posix
Read and write memory reachable through a C ptr.
CPtr.Struct - Class in posix
Compute the offsets of a C struct one member at a time.
CPtr.Struct(int) - Constructor for class posix.CPtr.Struct
Initialize with the offset (within a CPtr) of the C struct.
CPTR_TYPE - Static variable in class posix.CPtr
Type codes for alignOf() and sizeOf().
CSHORT_TYPE - Static variable in class posix.CPtr
Type codes for alignOf() and sizeOf().
ctime - Variable in class posix.MsgQ.msqid_ds
 
ctime - Variable in class posix.Stat
Time of last file status change
cuid - Variable in class posix.IPC.Perm
 

D

delete() - Method in class posix.LockFile
Remove the lockfile.
dev - Variable in class posix.Stat
ID of device containing a directory entry for this file.
DIR - Static variable in class posix.Stat
 
dispose() - Method in class posix.IPC
 
dispose() - Method in class posix.SharedMem
 

E

E2BIG - Static variable in class posix.Errno
 
EACCES - Static variable in class posix.Errno
 
EAGAIN - Static variable in class posix.Errno
 
EFAULT - Static variable in class posix.Errno
 
egid - Static variable in class posix.IPC
The effective gid of the JVM when this class was initialized.
EIDRM - Static variable in class posix.Errno
 
EINTR - Static variable in class posix.Errno
 
EINVAL - Static variable in class posix.Errno
 
EIO - Static variable in class posix.Errno
 
endpwent() - Method in class posix.Passwd
Close the passwd file.
ENOENT - Static variable in class posix.Errno
 
ENOMEM - Static variable in class posix.Errno
 
ENOMSG - Static variable in class posix.Errno
 
EPERM - Static variable in class posix.Errno
 
Errno - Class in posix
Report error codes returned by posix calls.
Errno() - Constructor for class posix.Errno
 
ESRCH - Static variable in class posix.Errno
 
euid - Static variable in class posix.IPC
The effective uid of the JVM when this class was initialized.

F

FIFO - Static variable in class posix.Stat
 
File - Class in posix
Extend java.io.File with posix features.
File(String) - Constructor for class posix.File
 
File(String, String) - Constructor for class posix.File
 
File(File, String) - Constructor for class posix.File
 
finalize() - Method in class posix.IPC
 
finalize() - Method in class posix.LockFile
Remove the lockfile when garbage collected.
finalize() - Method in class posix.Malloc
 
free() - Method in class posix.Malloc
 
ftok(String, int) - Static method in class posix.IPC
Return an IPC key from a pathname and an id.

G

getAction() - Method in class posix.Signal
 
getByte(int) - Method in class posix.CPtr
 
getCInt(int, int) - Method in class posix.CPtr
 
getCInt(int) - Method in class posix.CPtr
 
getCShort(int, int) - Method in class posix.CPtr
 
getCShort(int) - Method in class posix.CPtr
 
getErrdesc(int) - Static method in class posix.Errno
 
getErrdesc() - Static method in class posix.Errno
 
getErrno() - Static method in class posix.Errno
 
getErrno() - Method in exception posix.IPCException
 
getId() - Method in class posix.IPC
 
getInt(int) - Method in class posix.CPtr
 
getMode() - Method in class posix.File
Return the posix file mode.
getNCnt(char) - Method in class posix.SemSet
 
getPath() - Method in class posix.Passwd
 
getPerm() - Method in class posix.IPC
 
getPid(char) - Method in class posix.SemSet
 
getpwent() - Method in class posix.Passwd
Read the next record in the passwd file.
getpwnam(String) - Method in class posix.Passwd
Read the first passwd record that matches a user name.
getpwuid(int) - Method in class posix.Passwd
Read the passwd record that matches a user id.
getShort(int) - Method in class posix.CPtr
 
getStat() - Method in class posix.File
Return the posix Stat record for the file.
getStatus() - Method in class posix.IPC
Return the permissions for this IPC data structure.
getStatus() - Method in class posix.MsgQ
 
getStatus() - Method in class posix.SemSet
 
getStatus() - Method in class posix.SharedMem
 
getValue(char) - Method in class posix.SemSet
 
getValues() - Method in class posix.SemSet
 
getZCnt(char) - Method in class posix.SemSet
 
gid - Variable in class posix.IPC.Perm
 
gid - Variable in class posix.Stat
Group ID of the file's group

I

id - Variable in class posix.IPC
 
ino - Variable in class posix.Stat
File serial number.
IPC - Class in posix
The base class of the SysV derived posix IPC methods.
IPC() - Constructor for class posix.IPC
 
IPC.Perm - Class in posix
Permission structure for SysV IPC resources.
IPC_ALLOC - Static variable in class posix.IPC
Mode bits for various IPC functions.
IPC_CI - Static variable in class posix.IPC
Mode bits for various IPC functions.
IPC_CREAT - Static variable in class posix.IPC
Mode bits for various IPC functions.
IPC_EXCL - Static variable in class posix.IPC
Mode bits for various IPC functions.
IPC_NOCLEAR - Static variable in class posix.IPC
Mode bits for various IPC functions.
IPC_NOWAIT - Static variable in class posix.IPC
Mode bits for various IPC functions.
IPC_PHYS - Static variable in class posix.IPC
Mode bits for various IPC functions.
IPC_PRIVATE - Static variable in class posix.IPC
Mode bits for various IPC functions.
IPCException - Exception in posix
Report unexpected errors with posix IPC calls.
IPCException() - Constructor for exception posix.IPCException
 
IPCException(int) - Constructor for exception posix.IPCException
 
IPCException(String, int) - Constructor for exception posix.IPCException
 
IPCException(String) - Constructor for exception posix.IPCException
 
isBLK() - Method in class posix.Stat
True if Stat is for a block device.
isCHR() - Method in class posix.Stat
True if Stat is for a character device.
isDIR() - Method in class posix.Stat
True if Stat is for a directory.
isFIFO() - Method in class posix.Stat
True if Stat is for a unix pipe.
isLNK() - Method in class posix.Stat
True if Stat is for a symbolic link.
isPidValid(int) - Static method in class posix.IPC
 
isREG() - Method in class posix.Stat
True if Stat is for a regular file.
isSOCK() - Method in class posix.Stat
True if Stat is for a unix socket.

K

key - Variable in class posix.IPC.Perm
 
kill(int, int) - Static method in class posix.Signal
Send signal to process using posix call.
kill(int) - Method in class posix.Signal
Send this Signal to another process.

L

lastAccessed() - Method in class posix.File
Return the posix last accessed time (atime).
lastChanged() - Method in class posix.File
Return the posix last changed time (ctime).
LNK - Static variable in class posix.Stat
 
LockFile - Class in posix
A simple unix style lock file.
LockFile(String) - Constructor for class posix.LockFile
Create a unix style lockfile.
lrpid - Variable in class posix.MsgQ.msqid_ds
 
lspid - Variable in class posix.MsgQ.msqid_ds
 
lstat(String) - Method in class posix.Stat
Fill in fields from a file path.

M

main(String[]) - Static method in class posix.Errno
 
main(String[]) - Static method in class posix.LockFile
Exercise LockFile.
main(String[]) - Static method in class posix.TestPasswd
 
Malloc - Class in posix
Make C memory allocated with the malloc posix call available to Java.
Malloc(int) - Constructor for class posix.Malloc
 
mode - Variable in class posix.IPC.Perm
 
mode - Variable in class posix.Stat
File mode.
MSG_NOERROR - Static variable in class posix.MsgQ
 
msgget(int, int) - Static method in class posix.MsgQ
 
MsgQ - Class in posix
Represent a posix message queue.
MsgQ(int, int) - Constructor for class posix.MsgQ
 
MsgQ(int) - Constructor for class posix.MsgQ
 
MsgQ(String, int) - Constructor for class posix.MsgQ
Attach to an existing message queue.
MsgQ.msqid_ds - Class in posix
 
mtime - Variable in class posix.Stat
Time of last data modification

N

nlink - Variable in class posix.Stat
Number of links.

O

offsetOf(int) - Method in class posix.CPtr.Struct
Return the offset of the next member.
offsetOf(int, int) - Method in class posix.CPtr.Struct
Return the offset of the next array member.
offsetOf(CPtr.Struct, int) - Method in class posix.CPtr.Struct
Return the offset of a nested struct.
owner - Variable in class posix.IPC
 

P

Passwd - Class in posix
POSIX style access to the unix passwd file.
Passwd(String) - Constructor for class posix.Passwd
Access an arbitrary passwd format file.
Passwd() - Constructor for class posix.Passwd
Access the standard passwd file.
pid - Static variable in class posix.IPC
The posix process id for the process of this JVM.
posix - package posix
Posix for Java.
processSignal() - Method in class posix.Signal
Send a SignalEvent to all listeners.
putpwent() - Method in class posix.Passwd
Update the passwd file with the current values.
pw_dir - Variable in class posix.Passwd
 
pw_gecos - Variable in class posix.Passwd
 
pw_gid - Variable in class posix.Passwd
 
pw_name - Variable in class posix.Passwd
 
pw_passwd - Variable in class posix.Passwd
 
pw_shell - Variable in class posix.Passwd
 
pw_uid - Variable in class posix.Passwd
 

Q

qbytes - Variable in class posix.MsgQ.msqid_ds
 
qnum - Variable in class posix.MsgQ.msqid_ds
 

R

rdev - Variable in class posix.Stat
ID of device if special file.
recv(int[], byte[], int, int) - Method in class posix.MsgQ
Receive a message in a byte array.
recv(CPtr, int, int) - Method in class posix.MsgQ
Receive a message into a CPtr.
REG - Static variable in class posix.Stat
 
remove() - Method in class posix.IPC
Remove this IPC data structure from the system.
remove() - Method in class posix.MsgQ
Remove the message queue from the system.
remove() - Method in class posix.SemSet
 
remove() - Method in class posix.SharedMem
 
removeSignalListener(SignalListener) - Method in class posix.Signal
 
rtime - Variable in class posix.MsgQ.msqid_ds
 

S

S_IS(int, int) - Static method in class posix.Stat
Test posix file modes.
sem_ctime - Variable in class posix.SemSet.semid_ds
 
sem_nsems - Variable in class posix.SemSet.semid_ds
 
sem_otime - Variable in class posix.SemSet.semid_ds
 
SEM_UNDO - Static variable in class posix.SemSet
 
semget(int, int, int) - Static method in class posix.SemSet
 
semop(short[]) - Method in class posix.SemSet
 
SemSet - Class in posix
Represent a posix semaphore set.
SemSet(int, int, int) - Constructor for class posix.SemSet
 
SemSet(int) - Constructor for class posix.SemSet
Attach to an existing semaphore set
SemSet(String, int) - Constructor for class posix.SemSet
Attach to an existing semaphore set
SemSet.semid_ds - Class in posix
 
send(int, byte[], int, int) - Method in class posix.MsgQ
Send a message contained in a byte array.
send(CPtr, int, int) - Method in class posix.MsgQ
Send a message contained in a CPtr.
seq - Variable in class posix.IPC.Perm
 
setAction(int) - Method in class posix.Signal
Set the signal handling action type.
setByte(int, byte) - Method in class posix.CPtr
 
setCInt(int, int, int) - Method in class posix.CPtr
 
setCInt(int, int) - Method in class posix.CPtr
 
setCShort(int, int, short) - Method in class posix.CPtr
 
setCShort(int, short) - Method in class posix.CPtr
 
setInt(int, int) - Method in class posix.CPtr
 
setLastAccessed(long) - Method in class posix.File
Set the posix last accessed time (atime).
setMode(int) - Method in class posix.File
Set the posix file permission bits.
setOwner(int, int) - Method in class posix.File
Set the posix file owner and group.
setPerm(IPC.Perm) - Method in class posix.IPC
Set attributes for this IPC data structure.
setPerm(int, int, int) - Method in class posix.IPC
Set the uid, gid, mode for this IPC data structure.
setPerm(IPC.Perm) - Method in class posix.MsgQ
Set the uid, gid, mode, qbytes for this IPC data structure.
setPerm(IPC.Perm) - Method in class posix.SemSet
Set the uid, gid, mode, qbytes for this IPC data structure.
setPerm(IPC.Perm) - Method in class posix.SharedMem
Set the user, group, mode for this IPC data structure.
setpwent() - Method in class posix.Passwd
Open and position the passwd file just before the first record.
setShort(int, short) - Method in class posix.CPtr
 
setTimes(long, long) - Method in class posix.File
Set last accessed and last modified times.
setValue(char, short) - Method in class posix.SemSet
 
setValues(short[]) - Method in class posix.SemSet
 
SharedMem - Class in posix
A Posix shared memory segment.
SharedMem(int, int) - Constructor for class posix.SharedMem
Attach an existing shared memory segment.
SharedMem(int, int, int) - Constructor for class posix.SharedMem
Attach or create a shared memory segment.
SharedMem(String, int) - Constructor for class posix.SharedMem
 
SharedMem.shmid_ds - Class in posix
 
shm_atime - Variable in class posix.SharedMem.shmid_ds
 
shm_cnattch - Variable in class posix.SharedMem.shmid_ds
 
shm_cpid - Variable in class posix.SharedMem.shmid_ds
 
shm_ctime - Variable in class posix.SharedMem.shmid_ds
 
shm_dtime - Variable in class posix.SharedMem.shmid_ds
 
shm_lpid - Variable in class posix.SharedMem.shmid_ds
 
shm_nattch - Variable in class posix.SharedMem.shmid_ds
 
shm_segsz - Variable in class posix.SharedMem.shmid_ds
 
SHMLBA - Static variable in class posix.SharedMem
The modulus for attaching shared memory by logical address.
SIG_DFL - Static variable in class posix.Signal
 
SIG_EVT - Static variable in class posix.Signal
 
SIG_IGN - Static variable in class posix.Signal
 
SIGDANGER - Static variable in class posix.Signal
Paging space is low, or power failure.
SIGHUP - Static variable in class posix.Signal
The terminal or X session has disconnected.
SIGINT - Static variable in class posix.Signal
The user has sent an interrupt.
Signal - Class in posix
A posix signal.
SignalEvent - Class in posix
An event thrown when a posix signal is trapped.
SignalListener - Interface in posix
An interface to listen for a posix signal event.
signalReceived(SignalEvent) - Method in interface posix.SignalListener
 
SIGQUIT - Static variable in class posix.Signal
The user has sent a diagnostic abort.
SIGTERM - Static variable in class posix.Signal
The process is being terminated.
SIGUSR1 - Static variable in class posix.Signal
Application dependent signal.
SIGUSR2 - Static variable in class posix.Signal
Application dependent signal.
SIGWINCH - Static variable in class posix.Signal
The terminal window has changed size.
size() - Method in class posix.CPtr.Struct
Return total struct size including padding to reflect maximum alignment.
size - Variable in class posix.Stat
File size in bytes.
sizeOf(int) - Static method in class posix.CPtr
Get the size of a C type.
SOCK - Static variable in class posix.Stat
 
Stat - Class in posix
File status record for posix systems.
Stat() - Constructor for class posix.Stat
Create a blank Stat record.
Stat(String) - Constructor for class posix.Stat
Create a Stat record for the named file.
Stat(String, boolean) - Constructor for class posix.Stat
Create a Stat record for the named file.
stat(String) - Method in class posix.Stat
Fill in fields from a file path.
stime - Variable in class posix.MsgQ.msqid_ds
 
strerror(int) - Static method in class posix.Errno
 

T

testEmpty() - Method in class posix.TestPasswd
Test whether empty field is parsed correctly.
TestPasswd - Class in posix
Test Passwd behavior.
TestPasswd(String) - Constructor for class posix.TestPasswd
 

U

uid - Variable in class posix.IPC.Perm
 
uid - Variable in class posix.Stat
User ID of the file's owner
umask(int) - Static method in class posix.Stat
Set the process file creation mask.
umask() - Static method in class posix.Stat
Return the current process file creation mask.
utime(String, long, long) - Static method in class posix.Stat
Set the access and modification times of a file.

A B C D E F G I K L M N O P Q R S T U