MCPcopy Create free account
hub / github.com/KDE/kdevelop / stat

Class stat

plugins/debuggercommon/stty.cpp:208–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 int ptyno;
207 if (ioctl(ptyfd, TIOCGPTN, &ptyno) == 0) {
208 struct stat sbuf;
209 sprintf(tty_slave,"/dev/pts/%d",ptyno);
210 if (stat(tty_slave,&sbuf) == 0 && S_ISCHR(sbuf.st_mode))
211 needGrantPty = false;

Callers 8

urlInfoFunction · 0.85
projectFileExistsFunction · 0.85
fileExistsMethod · 0.85
initProjectFilesMethod · 0.85
removeUrlMethod · 0.85
createFileMethod · 0.85
renameFileOrFolderMethod · 0.85
findTTYMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected