xref: /third_party/toybox/toys/posix/true.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/toybox/toys/posix/
10f66f451Sopenharmony_ci/* true.c - Return zero.
20f66f451Sopenharmony_ci *
30f66f451Sopenharmony_ci * Copyright 2007 Rob Landley <rob@landley.net>
40f66f451Sopenharmony_ci *
50f66f451Sopenharmony_ci * See http://opengroup.org/onlinepubs/9699919799/utilities/true.html
60f66f451Sopenharmony_ci
70f66f451Sopenharmony_ciUSE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN|TOYFLAG_NOHELP|TOYFLAG_MAYFORK))
80f66f451Sopenharmony_ciUSE_TRUE(OLDTOY(:, true, TOYFLAG_NOFORK|TOYFLAG_NOHELP))
90f66f451Sopenharmony_ci
100f66f451Sopenharmony_ciconfig TRUE
110f66f451Sopenharmony_ci  bool "true"
120f66f451Sopenharmony_ci  default y
130f66f451Sopenharmony_ci  help
140f66f451Sopenharmony_ci    usage: true
150f66f451Sopenharmony_ci
160f66f451Sopenharmony_ci    Return zero.
170f66f451Sopenharmony_ci*/
180f66f451Sopenharmony_ci
190f66f451Sopenharmony_ci#include "toys.h"
200f66f451Sopenharmony_ci
210f66f451Sopenharmony_civoid true_main(void)
220f66f451Sopenharmony_ci{
230f66f451Sopenharmony_ci  return;
240f66f451Sopenharmony_ci}
25

Indexes created Thu Nov 07 10:32:03 CST 2024