div64.h

来自「Linux内核源代码 为压缩文件 是<<Linux内核>&gt」· C头文件 代码 · 共 21 行

H
21
字号
/* $Id: div64.h,v 1.1 2000/01/28 23:18:43 ralf Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License.  See the file "COPYING" in the main directory of this archive * for more details. */#ifndef _ASM_DIV64_H#define _ASM_DIV64_H/* * Hey, we're already 64-bit, no * need to play games.. */#define do_div(n,base) ({ \	int __res; \	__res = ((unsigned long) n) % (unsigned) base; \	n = ((unsigned long) n) / (unsigned) base; \	__res; })#endif /* _ASM_DIV64_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?