org.jruby.ext.posix
Interface LibC

All Superinterfaces:
com.sun.jna.Library
All Known Subinterfaces:
LinuxLibC, SolarisLibC, WindowsLibC

public interface LibC
extends com.sun.jna.Library


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 int chmod(String filename, int mode)
           
 int chown(String filename, int user, int group)
           
 int endgrent()
           
 int endpwent()
           
 int fork()
           
 int fstat(int fd, FileStat stat)
           
 int fstat64(int fd, FileStat stat)
           
 int getegid()
           
 int geteuid()
           
 int getgid()
           
 NativeGroup getgrent()
           
 NativeGroup getgrgid(int which)
           
 NativeGroup getgrnam(String which)
           
 String getlogin()
           
 int getpgid()
           
 int getpgid(int pid)
           
 int getpgrp()
           
 int getpid()
           
 int getppid()
           
 int getpriority(int which, int who)
           
 NativePasswd getpwent()
           
 NativePasswd getpwnam(String which)
           
 NativePasswd getpwuid(int which)
           
 int getuid()
           
 int isatty(int fd)
           
 int kill(int pid, int signal)
           
 int lchmod(String filename, int mode)
           
 int lchown(String filename, int user, int group)
           
 int link(String oldpath, String newpath)
           
 int lstat(String path, FileStat stat)
           
 int lstat64(String path, FileStat stat)
           
 int mkdir(String path, int mode)
           
 int readlink(String oldpath, ByteBuffer buffer, int len)
           
 int setegid(int egid)
           
 int seteuid(int euid)
           
 int setgid(int gid)
           
 int setgrent()
           
 int setpgid(int pid, int pgid)
           
 int setpgrp(int pid, int pgrp)
           
 int setpriority(int which, int who, int prio)
           
 int setpwent()
           
 int setsid()
           
 int setuid(int uid)
           
 int stat(String path, FileStat stat)
           
 int stat64(String path, FileStat stat)
           
 int symlink(String oldpath, String newpath)
           
 int umask(int mask)
           
 int utimes(String path, Timeval[] times)
           
 int wait(int[] status)
           
 int waitpid(int pid, int[] status, int options)
           
 

Method Detail

chmod

int chmod(String filename,
          int mode)

chown

int chown(String filename,
          int user,
          int group)

fstat

int fstat(int fd,
          FileStat stat)

fstat64

int fstat64(int fd,
            FileStat stat)

getegid

int getegid()

setegid

int setegid(int egid)

geteuid

int geteuid()

seteuid

int seteuid(int euid)

getgid

int getgid()

getlogin

String getlogin()

setgid

int setgid(int gid)

getpgid

int getpgid()

getpgid

int getpgid(int pid)

setpgid

int setpgid(int pid,
            int pgid)

getpgrp

int getpgrp()

setpgrp

int setpgrp(int pid,
            int pgrp)

getppid

int getppid()

getpid

int getpid()

getpwent

NativePasswd getpwent()

getpwuid

NativePasswd getpwuid(int which)

getpwnam

NativePasswd getpwnam(String which)

getgrent

NativeGroup getgrent()

getgrgid

NativeGroup getgrgid(int which)

getgrnam

NativeGroup getgrnam(String which)

setpwent

int setpwent()

endpwent

int endpwent()

setgrent

int setgrent()

endgrent

int endgrent()

getuid

int getuid()

setsid

int setsid()

setuid

int setuid(int uid)

kill

int kill(int pid,
         int signal)

lchmod

int lchmod(String filename,
           int mode)

lchown

int lchown(String filename,
           int user,
           int group)

link

int link(String oldpath,
         String newpath)

lstat

int lstat(String path,
          FileStat stat)

lstat64

int lstat64(String path,
            FileStat stat)

mkdir

int mkdir(String path,
          int mode)

stat

int stat(String path,
         FileStat stat)

stat64

int stat64(String path,
           FileStat stat)

symlink

int symlink(String oldpath,
            String newpath)

readlink

int readlink(String oldpath,
             ByteBuffer buffer,
             int len)

umask

int umask(int mask)

utimes

int utimes(String path,
           Timeval[] times)

fork

int fork()

waitpid

int waitpid(int pid,
            int[] status,
            int options)

wait

int wait(int[] status)

getpriority

int getpriority(int which,
                int who)

setpriority

int setpriority(int which,
                int who,
                int prio)

isatty

int isatty(int fd)


Copyright © 2011. All Rights Reserved.