mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Implement osdep_get_name and osdep_get_cwd for AIX, from J Raynor.
This commit is contained in:
		@@ -40,6 +40,10 @@ forkpty(int *master, unused char *name, struct termios *tio, struct winsize *ws)
 | 
			
		||||
 | 
			
		||||
	if ((path = ttyname(*master)) == NULL)
 | 
			
		||||
		goto out;
 | 
			
		||||
 | 
			
		||||
	if (name != NULL)
 | 
			
		||||
		strlcpy(name, path, TTY_NAME_MAX);
 | 
			
		||||
 | 
			
		||||
	if ((slave = open(path, O_RDWR|O_NOCTTY)) == -1)
 | 
			
		||||
		goto out;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user