Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sysconf.c « libbb - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c5fa5e001066286159ee4a6c7929d896b248c871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* vi: set sw=4 ts=4: */
/*
 * Various system configuration helpers.
 *
 * Copyright (C) 2014 Bartosz Golaszewski <bartekgola@gmail.com>
 *
 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
 */
#include "libbb.h"

#if defined _SC_ARG_MAX
unsigned FAST_FUNC bb_arg_max(void)
{
	return sysconf(_SC_ARG_MAX);
}
#endif