File: tryintmode.c

package info (click to toggle)
ucspi-unix 1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 452 kB
  • sloc: ansic: 2,606; python: 535; makefile: 14; sh: 1
file content (14 lines) | stat: -rw-r--r-- 169 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <sys/types.h>
#include <stdio.h>

void output(unsigned int *value)
{
	printf("%u\n", *value);
}

int main()
{
  mode_t mode = 3;
  output(&mode);
  return 0;
}