org.jruby.ext.posix
Class WindowsPOSIX

java.lang.Object
  extended by org.jruby.ext.posix.BaseNativePOSIX
      extended by org.jruby.ext.posix.WindowsPOSIX
All Implemented Interfaces:
POSIX

public class WindowsPOSIX
extends BaseNativePOSIX


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.ext.posix.BaseNativePOSIX
BaseNativePOSIX.PointerConverter
 
Nested classes/interfaces inherited from interface org.jruby.ext.posix.POSIX
POSIX.ERRORS
 
Field Summary
 
Fields inherited from class org.jruby.ext.posix.BaseNativePOSIX
GROUP, handler, libc, libraryName
 
Constructor Summary
WindowsPOSIX(String libraryName, LibC libc, POSIXHandler handler)
           
 
Method Summary
 FileStat allocateStat()
           
 int chown(String filename, int user, int group)
           
 int endgrent()
           
 int endpwent()
           
 int getegid()
           
 int geteuid()
           
 int getgid()
           
 Group getgrent()
           
 Group getgrgid(int which)
           
 Group getgrnam(String which)
           
 String getlogin()
           
 int getpgid()
           
 int getpgid(int pid)
           
 int getppid()
           
 int getpriority(int which, int who)
           
 Passwd getpwent()
           
 Passwd getpwnam(String which)
           
 Passwd getpwuid(int which)
           
 int getuid()
           
 boolean isatty(FileDescriptor fd)
           
 int kill(int pid, int signal)
           
 int lchmod(String filename, int mode)
           
 int lchown(String filename, int user, int group)
           
 FileStat lstat(String path)
           
 String readlink(String oldpath)
           
 int setegid(int egid)
           
 int seteuid(int euid)
           
 int setgid(int gid)
           
 int setgrent()
           
 int setpgid(int pid, int pgid)
           
 int setpriority(int which, int who, int prio)
           
 int setpwent()
           
 int setuid(int uid)
           
 int utimes(String path, long[] atimeval, long[] mtimeval)
           
 int wait(int[] status)
           
 int waitpid(int pid, int[] status, int flags)
           
 
Methods inherited from class org.jruby.ext.posix.BaseNativePOSIX
chmod, errno, errno, fork, fstat, getfd, getpgrp, getpid, hasMethod, link, mkdir, setpgrp, setsid, stat, symlink, umask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsPOSIX

public WindowsPOSIX(String libraryName,
                    LibC libc,
                    POSIXHandler handler)
Method Detail

allocateStat

public FileStat allocateStat()
Specified by:
allocateStat in class BaseNativePOSIX

kill

public int kill(int pid,
                int signal)
Specified by:
kill in interface POSIX
Overrides:
kill in class BaseNativePOSIX

chown

public int chown(String filename,
                 int user,
                 int group)
Specified by:
chown in interface POSIX
Overrides:
chown in class BaseNativePOSIX

getegid

public int getegid()
Specified by:
getegid in interface POSIX
Overrides:
getegid in class BaseNativePOSIX

setegid

public int setegid(int egid)
Specified by:
setegid in interface POSIX
Overrides:
setegid in class BaseNativePOSIX

geteuid

public int geteuid()
Specified by:
geteuid in interface POSIX
Overrides:
geteuid in class BaseNativePOSIX

seteuid

public int seteuid(int euid)
Specified by:
seteuid in interface POSIX
Overrides:
seteuid in class BaseNativePOSIX

getuid

public int getuid()
Specified by:
getuid in interface POSIX
Overrides:
getuid in class BaseNativePOSIX

setuid

public int setuid(int uid)
Specified by:
setuid in interface POSIX
Overrides:
setuid in class BaseNativePOSIX

getgid

public int getgid()
Specified by:
getgid in interface POSIX
Overrides:
getgid in class BaseNativePOSIX

setgid

public int setgid(int gid)
Specified by:
setgid in interface POSIX
Overrides:
setgid in class BaseNativePOSIX

getpgid

public int getpgid(int pid)
Specified by:
getpgid in interface POSIX
Overrides:
getpgid in class BaseNativePOSIX

getpgid

public int getpgid()
Specified by:
getpgid in interface POSIX
Overrides:
getpgid in class BaseNativePOSIX

setpgid

public int setpgid(int pid,
                   int pgid)
Specified by:
setpgid in interface POSIX
Overrides:
setpgid in class BaseNativePOSIX

getpriority

public int getpriority(int which,
                       int who)
Specified by:
getpriority in interface POSIX
Overrides:
getpriority in class BaseNativePOSIX

setpriority

public int setpriority(int which,
                       int who,
                       int prio)
Specified by:
setpriority in interface POSIX
Overrides:
setpriority in class BaseNativePOSIX

getppid

public int getppid()
Specified by:
getppid in interface POSIX
Overrides:
getppid in class BaseNativePOSIX

lchmod

public int lchmod(String filename,
                  int mode)
Specified by:
lchmod in interface POSIX
Overrides:
lchmod in class BaseNativePOSIX

lchown

public int lchown(String filename,
                  int user,
                  int group)
Specified by:
lchown in interface POSIX
Overrides:
lchown in class BaseNativePOSIX

lstat

public FileStat lstat(String path)
Specified by:
lstat in interface POSIX
Overrides:
lstat in class BaseNativePOSIX

readlink

public String readlink(String oldpath)
Specified by:
readlink in interface POSIX
Overrides:
readlink in class BaseNativePOSIX

utimes

public int utimes(String path,
                  long[] atimeval,
                  long[] mtimeval)
Specified by:
utimes in interface POSIX
Overrides:
utimes in class BaseNativePOSIX

wait

public int wait(int[] status)
Specified by:
wait in interface POSIX
Overrides:
wait in class BaseNativePOSIX

waitpid

public int waitpid(int pid,
                   int[] status,
                   int flags)
Specified by:
waitpid in interface POSIX
Overrides:
waitpid in class BaseNativePOSIX

getlogin

public String getlogin()
Specified by:
getlogin in interface POSIX
Overrides:
getlogin in class BaseNativePOSIX

endgrent

public int endgrent()
Specified by:
endgrent in interface POSIX
Overrides:
endgrent in class BaseNativePOSIX

endpwent

public int endpwent()
Specified by:
endpwent in interface POSIX
Overrides:
endpwent in class BaseNativePOSIX

getgrent

public Group getgrent()
Specified by:
getgrent in interface POSIX
Overrides:
getgrent in class BaseNativePOSIX

getpwent

public Passwd getpwent()
Specified by:
getpwent in interface POSIX
Overrides:
getpwent in class BaseNativePOSIX

getgrgid

public Group getgrgid(int which)
Specified by:
getgrgid in interface POSIX
Overrides:
getgrgid in class BaseNativePOSIX

getpwnam

public Passwd getpwnam(String which)
Specified by:
getpwnam in interface POSIX
Overrides:
getpwnam in class BaseNativePOSIX

getgrnam

public Group getgrnam(String which)
Specified by:
getgrnam in interface POSIX
Overrides:
getgrnam in class BaseNativePOSIX

setgrent

public int setgrent()
Specified by:
setgrent in interface POSIX
Overrides:
setgrent in class BaseNativePOSIX

setpwent

public int setpwent()
Specified by:
setpwent in interface POSIX
Overrides:
setpwent in class BaseNativePOSIX

getpwuid

public Passwd getpwuid(int which)
Specified by:
getpwuid in interface POSIX
Overrides:
getpwuid in class BaseNativePOSIX

isatty

public boolean isatty(FileDescriptor fd)
Specified by:
isatty in interface POSIX
Overrides:
isatty in class BaseNativePOSIX


Copyright © 2011. All Rights Reserved.