Package jnr.ffi.byref

Examples of jnr.ffi.byref.LongLongByReference


    }

    public long posix_spawnp(String path, Collection<? extends SpawnFileAction> fileActions,
            CharSequence[] argv, CharSequence[] envp) {
        AbstractNumberReference<? extends Number> pid = Library.getRuntime(libc()).findType(TypeAlias.pid_t).size() == 4
                ? new IntByReference(-1) : new LongLongByReference(-1);
        Pointer nativeFileActions = nativeFileActions(fileActions);

        try {
            if (((UnixLibC) libc()).posix_spawnp(pid, path, nativeFileActions, null, argv, envp) < 0) {
                Errno e = Errno.valueOf(errno());
View Full Code Here

TOP

Related Classes of jnr.ffi.byref.LongLongByReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.