void shutdownSystem() { #ifdef WIN32 HANDLE hToken; TOKEN_PRIVILEGES tkp; LUID luid; // Get version info to determin

2011-08-22 14:12:13

阅读数 532

评论数 0


/** * @brief restartSystem * * Detailed description. */ void restartSystem() { #ifdef WIN32 HANDLE hToken; TOKEN_PRIVILE

2011-08-22 14:11:16

阅读数 914

评论数 0

The boot of Linux

1. The system BIOS checks the system and launches the first stage boot loader on the MBR of the primary hard disk. 2. The Frist stage boot

2011-08-20 17:33:58

阅读数 402

评论数 0

Could you tell something about the Unix System Kernel?

The kernel is the heart of the UNIX operating system. It is responsible for controlling the computer’s resources and scheduling user jobs.

2011-08-20 17:31:01

阅读数 421

评论数 0

Makefile and the process of Make

Read the makefile which includes dependencies and rules. According to the dependencies and rules to build the target. g++ -MM main.cpp file

2011-08-20 17:30:43

阅读数 435

评论数 0

What is the difference between symbolic link and hard link?

A symbolic link is a special file that only contains a filename. It is created using. Remove the link will also remove the original file. A

2011-08-20 17:30:20

阅读数 576

评论数 0

Describe the process of opening a file in Linux system, what actions the operating system w

The OS creates a identifier for the file. The identifier contains the pointer to the file. The standard input, standard output, and standard

2011-08-20 17:29:55

阅读数 478

评论数 0

What are shell variables?

Shell variables are special variables, a name-value pair created and maintained by the shell. Example: PATH, HOME. $0: shell script name; $

2011-08-20 17:29:29

阅读数 421

评论数 0

What are the UNIX system calls for I/O?

Open, create, close, read, write, lseek, dup, dup2, fcntl, and ioctl. The difference between fcntl anf ioctl is that the former is intended

2011-08-20 17:28:57

阅读数 363

评论数 0

What are the process states in UNIX?

Running, Ready/Waiting, and Blocked.

2011-08-20 17:28:31

阅读数 332

评论数 0

What is meaning of run level in Linux system? What are they?

Runlevel defines the state of the machine after boot. After the Linux kernel has booted, the init program reads the /etc/inittab file to det

2011-08-20 17:27:55

阅读数 670

评论数 0

Core File

A core file is created when a program terminates unexpectedly, due to a bug, or a violation of the operating system's or hardware's protecti

2011-08-20 17:26:25

阅读数 374

评论数 0

inode, FAT32, and NTFS

In traditional Unix-style file system, each file is associated with an inode that is identified by an inode number in the file system where

2011-08-20 17:25:54

阅读数 703

评论数 0

Difference between Windows and Linux

Linux is an open-source Operating System. Windows separates directories with a back slash while Linux uses a normal forward slash. Windows

2011-08-20 17:25:11

阅读数 436

评论数 0

Common Linux Command

du             It stands for ‘disk usage’. With the help of this command you can find the disk capacity and free space of the disk. mkfs

2011-08-20 17:24:31

阅读数 350

评论数 0


#ifdef WIN32 #define Get_Error_No() GetLastError() #else #define Get_Error_No() errno #endif

2011-08-08 17:22:49

阅读数 528

评论数 0


int isNumber(const char *pBuf, int bufSize) { int i = 0; if ((NULL == pBuf) || (0 == bufSize)) { return -1;

2011-08-08 17:11:53

阅读数 604

评论数 0


/** * @file Bin_File.c * @brief * @author Don Hao * @date 2011-08-07 22:36:16 * @version * copyright: * email: hao.limin@gmail.com

2011-08-08 17:01:59

阅读数 442

评论数 0

C++中P.J. Plauger STL和SGI STL中map的区别

P.J. Plauger STL和SGI STL中map的erase方法实现是有区别的,其中Windows下常用的是P.J. Plauger STLP,Linux下是SGI STL,SGI STL实现了标准的STL规范。 .J. Plauger STL:for(ITER iter

2011-07-26 22:05:16

阅读数 1752

评论数 0


<br />内核是UNIX系统的心脏,其负责管理资源,以及调度用户任务。<br /> <br /> Something about the Unix System Kernel<br />The kernel is the heart of the ...

2010-06-20 21:00:00

阅读数 576

评论数 0

取消 删除