source: mainline/uspace/lib/c/include/arg_parse.h@ d7f7a4a

Last change on this file since d7f7a4a was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 579 bytes
RevLine 
[0a72efc]1/*
[d7f7a4a]2 * SPDX-FileCopyrightText: 2009 Lukas Mejdrech
[0a72efc]3 *
[d7f7a4a]4 * SPDX-License-Identifier: BSD-3-Clause
[0a72efc]5 */
6
7/** @addtogroup libc
8 * @{
9 */
10/** @file
11 */
12
[4805495]13#ifndef _LIBC_ARG_PARSE_H_
14#define _LIBC_ARG_PARSE_H_
[0a72efc]15
[36f0738]16#include <errno.h>
17
[b7fd2a0]18typedef errno_t (*arg_parser)(const char *, int *);
[2721a75]19
[d8e3467]20extern int arg_parse_short_long(const char *, const char *, const char *);
[b7fd2a0]21extern errno_t arg_parse_int(int, char **, int *, int *, int);
22extern errno_t arg_parse_name_int(int, char **, int *, int *, int, arg_parser);
23extern errno_t arg_parse_string(int, char **, int *, char **, int);
[0a72efc]24
25#endif
26
27/** @}
28 */
Note: See TracBrowser for help on using the repository browser.