aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/true.c
blob: 5e4432129eb3ee9a919e8e04be691e50a6c875a1 (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
/* true.c - Return zero.
 *
 * Copyright 2007 Rob Landley <rob@landley.net>
 *
 * See http://opengroup.org/onlinepubs/9699919799/utilities/true.html

USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN|TOYFLAG_NOHELP))
USE_TRUE(OLDTOY(:, true, TOYFLAG_NOFORK|TOYFLAG_NOHELP))

config TRUE
  bool "true"
  default y
  help
    usage: true

    Return zero.
*/

#include "toys.h"

void true_main(void)
{
  return;
}