File: archdetect-deb.c

package info (click to toggle)
ddetect 1.14
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 736 kB
  • ctags: 112
  • sloc: sh: 872; ansic: 533; makefile: 93
file content (17 lines) | stat: -rw-r--r-- 282 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include "archdetect.h"

int main(int argc, char *argv[])
{
        const char *subarch;

	if (!(subarch = subarch_analyze()))
		return EXIT_FAILURE;

        printf("%s/%s\n", CPU_TEXT, subarch);

	return EXIT_SUCCESS;
}