TIOCGPTN and TIOCSPTLCK ioctls
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@90 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									09bfb054fb
								
							
						
					
					
						commit
						f29042b531
					
				| @ -37,6 +37,8 @@ | ||||
|      IOCTL(TIOCNOTTY, 0, TYPE_NULL) | ||||
|      IOCTL(TIOCGETD, IOC_R, MK_PTR(TYPE_INT)) | ||||
|      IOCTL(TIOCSETD, IOC_W, MK_PTR(TYPE_INT)) | ||||
|      IOCTL(TIOCGPTN, IOC_R, MK_PTR(TYPE_INT)) | ||||
|      IOCTL(TIOCSPTLCK, IOC_W, MK_PTR(TYPE_INT)) | ||||
|      IOCTL(FIOCLEX, 0, TYPE_NULL) | ||||
|      IOCTL(FIONCLEX, 0, TYPE_NULL) | ||||
|      IOCTL(FIOASYNC, IOC_W, MK_PTR(TYPE_INT)) | ||||
|  | ||||
| @ -572,8 +572,8 @@ struct target_pt_regs { | ||||
| #define TARGET_TIOCSBRK	0x5427  /* BSD compatibility */ | ||||
| #define TARGET_TIOCCBRK	0x5428  /* BSD compatibility */ | ||||
| #define TARGET_TIOCGSID	0x5429  /* Return the session ID of FD */ | ||||
| #define TARGET_TIOCGPTN	_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ | ||||
| #define TARGET_TIOCSPTLCK	_IOW('T',0x31, int)  /* Lock/unlock Pty */ | ||||
| #define TARGET_TIOCGPTN	TARGET_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ | ||||
| #define TARGET_TIOCSPTLCK	TARGET_IOW('T',0x31, int)  /* Lock/unlock Pty */ | ||||
| 
 | ||||
| #define TARGET_FIONCLEX	0x5450  /* these numbers need to be adjusted. */ | ||||
| #define TARGET_FIOCLEX		0x5451 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 bellard
						bellard