org.jruby.ext.posix
Class MacOSPOSIX

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

public final class MacOSPOSIX
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
static BaseNativePOSIX.PointerConverter PASSWD
           
 
Fields inherited from class org.jruby.ext.posix.BaseNativePOSIX
GROUP, handler, helper, libc, libraryName
 
Constructor Summary
MacOSPOSIX(java.lang.String libraryName, LibC libc, POSIXHandler handler)
           
 
Method Summary
 FileStat allocateStat()
           
 int lchmod(java.lang.String filename, int mode)
           
 int lchown(java.lang.String filename, int user, int group)
           
 
Methods inherited from class org.jruby.ext.posix.BaseNativePOSIX
chmod, chown, endgrent, endpwent, errno, errno, fork, fstat, getegid, geteuid, getfd, getgid, getgrent, getgrgid, getgrnam, getlogin, getpgid, getpgid, getpgrp, getpid, getppid, getpriority, getpwent, getpwnam, getpwuid, getuid, hasMethod, isatty, kill, link, lstat, mkdir, readlink, setegid, seteuid, setgid, setgrent, setpgid, setpgrp, setpriority, setpwent, setsid, setuid, stat, symlink, umask, utimes, wait, waitpid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PASSWD

public static final BaseNativePOSIX.PointerConverter PASSWD
Constructor Detail

MacOSPOSIX

public MacOSPOSIX(java.lang.String libraryName,
                  LibC libc,
                  POSIXHandler handler)
Method Detail

allocateStat

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

lchmod

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

lchown

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


Copyright © 2010. All Rights Reserved.