Home
last modified time | relevance | path

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

/openbsd/usr.bin/dig/lib/dns/
H A Dgen.c201 struct tt *newtt = (struct tt *)malloc(sizeof(*newtt)); in add() local
215 newtt->next = NULL; in add()
217 newtt->type = type; in add()
219 strncpy(newtt->classname, classname, sizeof(newtt->classname)); in add()
220 newtt->classname[sizeof(newtt->classname) - 1] = '\0'; in add()
222 strncpy(newtt->typename, typename, sizeof(newtt->typename)); in add()
223 newtt->typename[sizeof(newtt->typename) - 1] = '\0'; in add()
227 strncpy(newtt->dirname, dirname, sizeof(newtt->dirname)); in add()
228 newtt->dirname[sizeof(newtt->dirname) - 1] = '\0'; in add()
248 newtt->next = tt; in add()
[all …]
/openbsd/games/tetris/
H A Dscreen.c246 struct termios newtt; in scr_set() local
284 newtt = oldtt; in scr_set()
285 newtt.c_lflag &= ~(ICANON|ECHO); in scr_set()
286 newtt.c_oflag &= ~OXTABS; in scr_set()
287 if (tcsetattr(0, TCSADRAIN, &newtt) == -1) in scr_set()