Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
share /
ri /
1.9.1 /
system /
Fcntl /
Delete
Unzip
Name
Size
Permission
Date
Action
cdesc-Fcntl.ri
3.64
KB
-rw-r--r--
2023-07-26 17:26
Save
Rename
U:RDoc::NormalModule[iI" Fcntl:ET@0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"IFcntl loads the constants defined in the system's <fcntl.h> C header;TI"Jfile, and used with both the fcntl(2) and open(2) POSIX system calls.;To:RDoc::Markup::BlankLine o; ;[I"/Copyright (C) 1997-2001 Yukihiro Matsumoto;T@o; ;[I"*Documented by mathew <meta@pobox.com>;T@S:RDoc::Markup::Heading: leveli: textI" Usage;T@o; ;[I"HTo perform a fcntl(2) operation, use IO::fcntl in the core classes.;T@o; ;[I"6To perform an open(2) operation, use IO::sysopen.;T@o; ;[I"KThe set of operations and constants available depends upon specific OS;TI"Lplatform. Some values listed below may not be supported on your system.;T@o; ;[I"@The constants supported by Ruby for use with IO::fcntl are:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"KF_DUPFD - duplicate a close-on-exec file handle to a non-close-on-exec;TI"file handle.;T@o;;0;[o; ;[I"<F_GETFD - read the close-on-exec flag of a file handle.;T@o;;0;[o; ;[I";F_SETFD - set the close-on-exec flag of a file handle.;T@o;;0;[o; ;[I"6FD_CLOEXEC - the value of the close-on-exec flag.;T@o;;0;[o; ;[I")F_GETFL - get file descriptor flags.;T@o;;0;[o; ;[I")F_SETFL - set file descriptor flags.;T@o;;0;[o; ;[I"AO_APPEND, O_NONBLOCK, etc (see below) - file descriptor flag;TI"values for the above.;T@o;;0;[o; ;[I"DF_GETLK - determine whether a given region of a file is locked.;T@o;;0;[o; ;[I"4F_SETLK - acquire a lock on a region of a file.;T@o;;0;[o; ;[I"KF_SETLKW - acquire a lock on a region of a file, waiting if necessary.;T@o;;0;[o; ;[I"=F_RDLCK, F_WRLCK, F_UNLCK - types of lock for the above.;T@o; ;[I"BThe constants supported by Ruby for use with IO::sysopen are:;T@o;;;;[o;;0;[o; ;[I")O_APPEND - open file in append mode.;T@o;;0;[o; ;[I"=O_NOCTTY - open tty without it becoming controlling tty.;T@o;;0;[o; ;[I"/O_CREAT - create file if it doesn't exist.;T@o;;0;[o; ;[I"5O_EXCL - used with O_CREAT, fail if file exists.;T@o;;0;[o; ;[I"%O_TRUNC - truncate file on open.;T@o;;0;[o; ;[I"7O_NONBLOCK / O_NDELAY - open in non-blocking mode.;T@o;;0;[o; ;[I"O_RDONLY - open read-only.;T@o;;0;[o; ;[I" O_WRONLY - open write-only.;T@o;;0;[o; ;[I"O_RDWR - open read-write.;T@o;;0;[o; ;[I"2O_ACCMODE - mask to extract read/write flags.;T@o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[I"require 'fcntl' ;FI" ;FI"'fd = IO::sysopen('/tmp/tempfile', ;FI"< Fcntl::O_WRONLY | Fcntl::O_EXCL | Fcntl::O_CREAT) ;FI"f = IO.open(fd) ;FI"f.syswrite("TEMP DATA") ;FI"f.close;F: @fileI"ext/fcntl/fcntl.c;T;0[ [[I"F_DUPFD;To;;[ ;0@�[I"F_GETFD;To;;[ ;0@�[I"F_GETLK;To;;[ ;0@�[I"F_SETFD;To;;[ ;0@�[I"F_GETFL;To;;[ ;0@�[I"F_SETFL;To;;[ ;0@�[I"F_SETLK;To;;[ ;0@�[I" F_SETLKW;To;;[ ;0@�[I"FD_CLOEXEC;To;;[ ;0@�[I"F_RDLCK;To;;[ ;0@�[I"F_UNLCK;To;;[ ;0@�[I"F_WRLCK;To;;[ ;0@�[I"O_CREAT;To;;[ ;0@�[I"O_EXCL;To;;[ ;0@�[I" O_NOCTTY;To;;[ ;0@�[I"O_TRUNC;To;;[ ;0@�[I" O_APPEND;To;;[ ;0@�[I"O_NONBLOCK;To;;[ ;0@�[I" O_NDELAY;To;;[ ;0@�[I" O_RDONLY;To;;[ ;0@�[I"O_RDWR;To;;[ ;0@�[I" O_WRONLY;To;;[ ;0@�[I"O_ACCMODE;To;;[ ;0@�[ [[I" class;F[[:public[ [:protected[ [:private[ [I" instance;F[[;[ [;[ [;[