PHP 8.2.31
Preview: grant_privilege-c.yaml Size: 709 B
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Process/UID/grant_privilege-c.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Set the effective user ID, and if possible, the saved user ID of the process to the given <em>integer</em>. Returns the new effective user ID. Not available on all platforms.
- !ruby/struct:SM::Flow::VERB 
  body: "   [Process.uid, Process.euid]          #=&gt; [0, 0]\n   Process::UID.grant_privilege(31)     #=&gt; 31\n   [Process.uid, Process.euid]          #=&gt; [0, 31]\n"
full_name: Process::UID::grant_privilege
is_singleton: true
name: grant_privilege
params: |
  Process::UID.grant_privilege(integer)   => fixnum
  Process::UID.eid= integer               => fixnum

visibility: public

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
828 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
638 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
427 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
709 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
547 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
391 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
419 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
352 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
567 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).