Help for this page

Select Code to Download


  1. or download this
      sub fileop($;$) {
        my ($op, @argv)=@{my $_=shift};
    ...
    # can call this with:
        fileop(['rename', $from_name, $tmpnam]);
        fileop(['link', $name_of_to_node, $from_name]);
    
  2. or download this
     sub sched_unlink($$) { fileop(['unlink', $_[0]], "from inode ".$_[1])
    + }