summaryrefslogtreecommitdiff
path: root/features/mkc_shquote.h
blob: a58722840fcb308395b99675539288cb62e61ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/********************************************************************\
 Copyright (c) 2020 by Aleksey Cheusov

 See LICENSE file in the distribution.
\********************************************************************/

#ifndef _MKC_SHQUOTE_H_
#define _MKC_SHQUOTE_H_

#ifndef _MKC_CHECK_SHQUOTE
# error "Missing MKC_FEATURES += shquote"
#endif

#include <stdlib.h>

#include "mkc_externc.h"

#ifndef HAVE_FUNC3_SHQUOTE_STDLIB_H
__MKC_BEGIN_DECLS
size_t shquote (const char *arg, char *buf, size_t bufsize);
__MKC_END_DECLS
#endif

#endif // _MKC_SHQUOTE_H_