Home
last modified time | relevance | path

Searched refs:dbg_fd (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddebug.c44 static int dbg_fd; /* debugging output file descriptor */ variable
122 dbg_fd = open(file, O_RDWR | O_CREAT | O_TRUNC, 0666); in dbg_setup()
123 if (dbg_fd == -1) { in dbg_setup()
135 dbg_fd = 2; in dbg_setup()
143 (void) rtld_fstat(dbg_fd, &status); in dbg_setup()
240 if ((rtld_fstat(dbg_fd, &status) == -1) || in dbg_print()
259 if ((dbg_fd = open(file, (O_RDWR | O_APPEND), in dbg_print()
264 (void) rtld_fstat(dbg_fd, &status); in dbg_print()
278 prf.pr_fd = dbg_fd; in dbg_print()
/illumos-gate/usr/src/cmd/drd/
H A Ddrd.c199 int dbg_fd; in drd_init_door_server() local
239 if ((dbg_fd = creat(DRD_DOOR_FILE, 0644)) == -1) { in drd_init_door_server()
245 close(dbg_fd); in drd_init_door_server()