(root)/
strace-6.5/
tests/
fflush.c
       1  /*
       2   * Check fflush error diagnostics.
       3   *
       4   * Copyright (c) 2017-2018 The strace developers.
       5   * All rights reserved.
       6   *
       7   * SPDX-License-Identifier: GPL-2.0-or-later
       8   */
       9  
      10  #include "tests.h"
      11  
      12  #include <errno.h>
      13  #include <stdio.h>
      14  #include <stdlib.h>
      15  
      16  int
      17  main(void)
      18  {
      19  	errno = ENOSPC;
      20  	printf("%s: /dev/full: %m\n", getenv("STRACE_EXE") ?: "strace");
      21  	return 0;
      22  }