File: Notes

package info (click to toggle)
glibc-pre2.1 2.0.93-980414-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 43,920 kB
  • ctags: 42,602
  • sloc: ansic: 325,848; asm: 23,534; makefile: 3,352; sh: 3,283; awk: 582; perl: 474; csh: 15; sed: 10
file content (37 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download | duplicates (48)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
The library pays attention to some envariables:

CORESERVER     -- Name of core server naming point; falls back to /servers/core
COREFILE       -- Name of file to write core dump in; falls back to core
GNUTARGET      -- Passed to core server to specify flavor of core dump format

New functions:

int openport (io_t port);
FILE *fopenport (mach_port_t, const char *mode);
file_t getdport (int fd);

task_t pid2task (pid_t);
pid_t task2pid (task_t);

int fchroot (int fd);
mode_t getumask (void);

int getuids (int n, uid_t *uidset);

error_t hurd_path_lookup (file_t root, file_t cwd,
			  const char *path, int flags, mode_t mode,
			  file_t *port);
error_t hurd_path_split (file_t root, file_t cwd,
			 const char *path,
			 file_t *dir, char **name);
file_t path_lookup (const char *path, int flags, mode_t mode);
file_t path_split (const char *path, char **name);

process_t getproc (void);
int setproc (process_t);
file_t getcrdir (void);
int setcrdir (file_t);
file_t getcwdir (void);
int setcwdir (file_t);
auth_t getauth (void);
int setauth (auth_t);		/* Reauthenticates all library ports.  */