📄 tmless.c
字号:
/* Copyright (c) 1984 AT&T *//* All Rights Reserved *//* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T *//* The copyright notice above does not evidence any *//* actual or intended publication of such source code. */#ident "@(#)tmless.c 1.1 92/07/30 SMI" /* from S5R3 acct:lib/tmless.c 1.3 *//* * return 1 if t1 earlier than t2 (times in localtime format) * assumed that t1 and t2 are in same day */#include <time.h>tmless(t1, t2)register struct tm *t1, *t2;{ if (t1->tm_hour != t2->tm_hour) return(t1->tm_hour < t2->tm_hour); if (t1->tm_min != t2->tm_min) return(t1->tm_min < t2->tm_min); return(t1->tm_sec < t2->tm_sec);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -