Annotation of coherent/a/usr/man/COHERENT/chroot, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: chroot()               COHERENT System Call              chroot()
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Change process's root directory
                      9: 
                     10: iinntt cchhrroooott(_d_i_r_e_c_t_o_r_y)
                     11: cchhaarr *_d_i_r_e_c_t_o_r_y;
                     12: 
                     13: The root directory is the directory from which file-name searches
                     14: commence when  a path name  begins with `/'.   chroot changes the
                     15: root directory to directory for the requesting process and all of
                     16: its children.
                     17: 
                     18: Because of security  problems, chroot is restricted to the super-
                     19: user.  It is sometimes useful for a system administrator; for ex-
                     20: ample, to test a new system environment that resides on a mounted
                     21: file system.
                     22: 
                     23: ***** See Also *****
                     24: 
                     25: chdir(), COHERENT system calls, fork()
                     26: 
                     27: ***** Diagnostics *****
                     28: 
                     29: chroot returns zero for a  successful call.  It returns -1 on er-
                     30: rors, such as the caller not being the superuser or the directory
                     31: being nonexistent or not a directory.
                     32: 
                     33: 
                     34: 
                     35: 
                     36: 
                     37: 
                     38: 
                     39: 
                     40: 
                     41: 
                     42: 
                     43: 
                     44: 
                     45: 
                     46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: 
                     52: 
                     53: 
                     54: 
                     55: 
                     56: 
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.