org.jruby.ext.posix
Class JavaLibCHelper
public
class
JavaLibCHelper
extends Object
This libc implementation is created one per runtime instance versus the others which
are expected to be one static instance for whole JVM. Because of this it is no big
deal to make reference to a POSIXHandler directly.
Method Summary |
int | chmod(String filename, int mode) |
int | chown(String filename, int user, int group) |
int | endpwent() |
int | getfd(FileDescriptor descriptor) |
long | gethandle(FileDescriptor descriptor) |
String | getlogin() |
int | getpid() |
Passwd | getpwent() |
Passwd | getpwuid(int which) |
int | isatty(int fd) |
int | link(String oldpath, String newpath) |
int | lstat(String path, FileStat stat) |
int | mkdir(String path, int mode) |
int | readlink(String oldpath, ByteBuffer buffer, int length) |
int | setpwent() |
int | stat(String path, FileStat stat) |
int | symlink(String oldpath, String newpath) |
public static final int STDERR
public static final int STDIN
public static final int STDOUT
public int chmod(String filename, int mode)
public int chown(String filename, int user, int group)
public int endpwent()
public int getfd(FileDescriptor descriptor)
public long gethandle(FileDescriptor descriptor)
public String getlogin()
public int getpid()
public
Passwd getpwuid(int which)
public int isatty(int fd)
public int link(String oldpath, String newpath)
public int lstat(String path,
FileStat stat)
public int mkdir(String path, int mode)
public int readlink(String oldpath, ByteBuffer buffer, int length)
public int setpwent()
public int stat(String path,
FileStat stat)
public int symlink(String oldpath, String newpath)