source: rtems/testsuites/psxtests/psxdevctl01/main.c @ 5e7b3c65

5
Last change on this file since 5e7b3c65 was 5e7b3c65, checked in by Joel Sherrill <joel@…>, on 10/07/19 at 15:48:23

posix_devctl - Add support for SOCKCLOSE

The FACE Technical Standard, Edition 3.0 and later require the definition
of the subcommand SOCKCLOSE in <devctl.h>.

Reference: ​https://www.opengroup.org/face

closes #3856.

  • Property mode set to 100644
File size: 1008 bytes
Line 
1/**
2 *  @file
3 *
4 *  Test program wrapper for POSIX Devctl
5 */
6
7/*
8 *  COPYRIGHT (c) 2016.
9 *  On-Line Applications Research Corporation (OAR).
10 *
11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
13 *  http://www.rtems.org/license/LICENSE.
14 */
15
16
17#ifdef HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <bsp.h>
22#include <pmacros.h>
23
24/* forward declarations to avoid warnings */
25rtems_task Init(rtems_task_argument ignored);
26void test_main(void);
27
28rtems_task Init(
29  rtems_task_argument ignored
30)
31{
32  test_main();
33  rtems_test_exit( 0 );
34}
35
36/* configuration information */
37#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
38#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
39
40#define CONFIGURE_MAXIMUM_TASKS 1
41
42#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 4
43
44#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
45
46#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
47
48#define CONFIGURE_INIT
49
50#include <rtems/confdefs.h>
51/* end of file */
Note: See TracBrowser for help on using the repository browser.