Top Deprecated
jnr-posix 3.1.17

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
jnr.posix.BaseNativePOSIX.fcntl(int
the file descriptor on which to act
fd
,
Fcntl
the Fcntl enum value for the flag to set
fcntl
,
int...
arguments for the flag or null if none
args
)

jnr.posix.CheckedPOSIX.fcntl(int
the file descriptor on which to act
fd
,
Fcntl
the Fcntl enum value for the flag to set
fcntlConst
,
int...
arguments for the flag or null if none
arg
)

jnr.posix.JavaPOSIX.fcntl(int
the file descriptor on which to act
fd
,
Fcntl
the Fcntl enum value for the flag to set
fcntlConst
,
int...
arguments for the flag or null if none
arg
)

jnr.posix.LazyPOSIX.fcntl(int
the file descriptor on which to act
fd
,
Fcntl
the Fcntl enum value for the flag to set
fcntlConst
,
int...
arguments for the flag or null if none
arg
)

jnr.posix.LibC.fcntl(int fd, int fnctl, int... arg)

Returns:

0 if success, -1 if error
jnr.posix.POSIX.fcntl
(int
the file descriptor on which to act
fd
,
Fcntl
the Fcntl enum value for the flag to set
fcntlConst
,
int...
arguments for the flag or null if none
arg
)

This version does not pass args because jnr-ffi does not support variadic invocation.

jnr.posix.POSIXFunctionMapper

Use SimpleFunctionMapper instead.

jnr.posix.UnixLibC.posix_spawn_file_actions_addopen(Pointer fileActions, int filedes, CharSequence path, int oflag, int mode)

due to CVE-2014-4043 (https://bugzilla.redhat.com/show_bug.cgi?id=1983750)