File: ftok.c

package info (click to toggle)
numactl 2.0.11-2.1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,912 kB
  • ctags: 922
  • sloc: sh: 11,860; ansic: 6,542; makefile: 104
file content (8 lines) | stat: -rw-r--r-- 134 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#include <sys/ipc.h>
#include <stdio.h>
int main(int ac, char **av)
{
	while (*++av) 
		printf("0x%x\n", ftok(*av, 0));
	return 0;	
}