File: cpu_info.c

package info (click to toggle)
biew 5.6.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,004 kB
  • ctags: 7,157
  • sloc: ansic: 50,860; asm: 809; makefile: 396; pascal: 371
file content (27 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
 * @namespace   biewlib
 * @file        biewlib/sysdep/generic/cpu_info.c
 * @brief       This file contains generic function emplementation for retrieving
 *              CPU information.
 * @version     -
 * @remark      this source file is part of Binary vIEW project (BIEW).
 *              The Binary vIEW (BIEW) is copyright (C) 1995 Nick Kurshev.
 *              All rights reserved. This software is redistributable under the
 *              licence given in the file "Licence.en" ("Licence.ru" in russian
 *              translation) distributed in the BIEW archive.
 * @note        Requires POSIX compatible development system
 *
 * @author      Nick Kurshev
 * @since       1999
 * @note        Development, fixes and improvements
**/
#include <stdio.h>

#include "biewlib/biewlib.h"

void __FillCPUInfo(char *buff,unsigned cbBuff,void (*func)(int))
{
  (*func)(100);
  sprintf(buff,"\n\n\n\n\n\n    CPU information is not available in this build\n");
  buff[cbBuff-1] = '\0';
}