3 fauth \- set up authentication on a file descriptor to a file server
13 int fauth(int fd, char *aname)
17 is used to establish authentication for the current user to access
18 the resources available through the 9P connection represented by
20 The return value is a file descriptor, conventionally called
22 that is subsequently used to negotiate the authentication protocol
23 for the server, typically using
29 After successful authentication,
31 may be passed as the second argument to a subsequent
37 as a ticket-of-entry for the user.
41 returns -1, the error case, that means the file server does not require
42 authentication for the connection, and
50 directly; more commonly
56 .B /sys/src/libc/9syscall