unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (plan9)
Page:
Section:
Apropos / Subsearch:
optional field

CLONE(5)                      File Formats Manual                     CLONE(5)



NAME
       clone - duplicate a fid

SYNOPSIS
       Tclone  tag[2] fid[2] newfid[2]
       Rclone  tag[2] fid[2]

DESCRIPTION
       The  clone  request carries as arguments an existing fid and a proposed
       newfid (which must not be in use) that the client wishes  to  associate
       with  the  same file as fid.  The fid must be valid in the current ses-
       sion and must not have been opened for I/O by an open  or  create  mes-
       sage.  After a successful clone and before any subsequent messages, fid
       and newfid are indistinguishable.

ENTRY POINTS
       A clone message is generated by any system call that evaluates  a  path
       name and by a read of a union directory.



                                                                      CLONE(5)