Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/libbb/getpty.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/libbb/getpty.c
r3232 r3621 17 17 #if ENABLE_FEATURE_DEVPTS 18 18 p = open("/dev/ptmx", O_RDWR); 19 if (p > 0) {19 if (p >= 0) { 20 20 grantpt(p); /* chmod+chown corresponding slave pty */ 21 21 unlockpt(p); /* (what does this do?) */
Note:
See TracChangeset
for help on using the changeset viewer.