Class Wasi


  • public final class Wasi
    extends java.lang.Object
    • Method Detail

      • clockTimeGet

        public static short clockTimeGet​(int clockId,
                                         long precision,
                                         LongResult result)
      • argsSizesGet

        public static short argsSizesGet​(IntResult argvSize,
                                         IntResult argvBufSize)
      • argsGet

        public static short argsGet​(org.teavm.interop.Address argv,
                                    org.teavm.interop.Address argvBuf)
      • fdRead

        public static short fdRead​(int fd,
                                   IOVec vecArray,
                                   int vecArrayLength,
                                   SizeResult size)
      • fdWrite

        public static short fdWrite​(int fd,
                                    IOVec vectors,
                                    int vectorsCont,
                                    SizeResult result)
      • fdTell

        public static short fdTell​(int fd,
                                   SizeResult size)
      • fdSeek

        public static short fdSeek​(int fd,
                                   long offset,
                                   byte whence,
                                   SizeResult size)
      • fdPrestatGet

        public static short fdPrestatGet​(int fd,
                                         Prestat prestat)
      • fdPrestatDirName

        public static short fdPrestatDirName​(int fd,
                                             org.teavm.interop.Address buffer,
                                             int bufferLength)
      • fdFilestatGet

        public static short fdFilestatGet​(int fd,
                                          Filestat filestat)
      • pathFilestatGet

        public static short pathFilestatGet​(int fd,
                                            int lookupFlags,
                                            org.teavm.interop.Address path,
                                            int pathLength,
                                            Filestat filestat)
      • fdReaddir

        public static short fdReaddir​(int fd,
                                      org.teavm.interop.Address dirent,
                                      int direntSize,
                                      long cookie,
                                      IntResult size)
      • pathOpen

        public static short pathOpen​(int dirFd,
                                     int lookupFlags,
                                     org.teavm.interop.Address path,
                                     int pathLength,
                                     short oflags,
                                     long baseRights,
                                     long inheritingRights,
                                     short fdflags,
                                     FdResult fd)
      • fdClose

        public static short fdClose​(int fd)
      • pathCreateDirectory

        public static short pathCreateDirectory​(int fd,
                                                org.teavm.interop.Address path,
                                                int pathLength)
      • pathUnlinkFile

        public static short pathUnlinkFile​(int fd,
                                           org.teavm.interop.Address path,
                                           int pathLength)
      • pathRemoveDirectory

        public static short pathRemoveDirectory​(int fd,
                                                org.teavm.interop.Address path,
                                                int pathLength)
      • pathRename

        public static short pathRename​(int oldFd,
                                       org.teavm.interop.Address oldPath,
                                       int oldPathLength,
                                       int newFd,
                                       org.teavm.interop.Address newPath,
                                       int newPathLength)
      • fdFilestatSetTimes

        public static short fdFilestatSetTimes​(int fd,
                                               long atime,
                                               long mtime,
                                               short fstflags)
      • pathFilestatSetTimes

        public static short pathFilestatSetTimes​(int fd,
                                                 int lookupFlags,
                                                 org.teavm.interop.Address path,
                                                 int pathLength,
                                                 long atime,
                                                 long mtime,
                                                 short fstflags)
      • fdFilestatSetSize

        public static short fdFilestatSetSize​(int fd,
                                              long size)
      • fdSync

        public static short fdSync​(int fd)
      • randomGet

        public static short randomGet​(org.teavm.interop.Address buffer,
                                      int bufferLength)