cuts.c
来自「这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易」· C语言 代码 · 共 40 行
C
40 行
#include <u.h>#include <libc.h>#include "map.h"extern void abort(void);/* these routines duplicate names found in map.c. they arecalled from routines in hex.c, guyou.c, and tetra.c, whichare in turn invoked directly from map.c. this bad organizationarises from data hiding; only these three files know stuffthat's necessary for the proper handling of the unusual cutsinvolved in these projections.the calling routines are not advertised as part of the library,and the library duplicates should never get loaded, however theyare included to make the libary self-standing.*/intpicut(struct place *g, struct place *og, double *cutlon){ g; og; cutlon; abort(); return 0;}intckcut(struct place *g1, struct place *g2, double lon){ g1; g2; lon; abort(); return 0;}doublereduce(double x){ x; abort(); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?