Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

/* $NetBSD: opt_i.c,v 1.4 2022/04/24 09:04:12 rillig Exp $ */

/*
 * Tests for the option '-i', which specifies the indentation for a single
 * brace level.
 */

//indent input
void
example(void)
{
   if (1 > 0) if (2 > 1) return yes; return no;
}
//indent end

//indent run -i3
void
example(void)
{
   if (1 > 0)
      if (2 > 1)
	 return yes;
   return no;
}
//indent end