diff options
author | ABR290B <abhimanyuraghuvanshi29@gmail.com> | 2018-12-12 19:53:35 +0530 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-12-13 09:12:54 -0600 |
commit | a0353ea266a65f275fe975bccc9f742ee6b407a2 (patch) | |
tree | cd8c27fba9bac52b2972c15447f6b7a2974cb9fa /testsuites/psxtests/psxhdrs/utmpx/setutxent.c | |
parent | POSIX Signature Compliance Test for sys/statvfs.h (GCI 2018) (diff) | |
download | rtems-a0353ea266a65f275fe975bccc9f742ee6b407a2.tar.bz2 |
POSIX Signature Compliance Test for utmpx.h (GCI2018)
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxhdrs/utmpx/setutxent.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/utmpx/setutxent.c b/testsuites/psxtests/psxhdrs/utmpx/setutxent.c new file mode 100644 index 0000000000..4aaac6fd7c --- /dev/null +++ b/testsuites/psxtests/psxhdrs/utmpx/setutxent.c @@ -0,0 +1,34 @@ +/** + * @file + * @brief setutxent() API Conformance Test + */ + +/* + * COPYRIGHT (c) 2018. + * Abhimanyu Raghuvanshi + * + * Permission to use, copy, modify, and/or distribute this software + * for any purpose with or without fee is hereby granted. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR + * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES + * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <utmpx.h> + +int test(void); + +int test(void) +{ + setutxent(); + return (0); +}
\ No newline at end of file |