/
githubmirror
/
strace
Обзор
Документация
Войти
/
githubmirror
/
strace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.13
tests/shutdown.c
22 строки
403 B
Dmitry V. Levin
Add copyright headers to some files that lack them
25 дек 2018, 02:46
25 дек 2018, 02:46
92e347b
Код
Авторство
О чём код?
/* * Copyright (c) 2016-2018 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Check decoding of shutdown syscall. */ #include "tests.h" #include <stdio.h> #include <sys/socket.h> int main(void) { int rc = shutdown(-1, SHUT_RDWR); printf("shutdown(-1, SHUT_RDWR) = %d %s (%m)\n", rc, errno2name()); puts("+++ exited with 0 +++"); return 0; }