Linux
文章平均质量分 51
fdafdafdsafas
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux获取系统时间
想要得到系统时间需要调用Linux系统函数获取。#include #include /// 系统时间结构typedef struct SYSTEM_TIME{ int year;///< 年。 int month;///< 月,January = 1, February = 2, and so on. int day;//原创 2015-06-19 11:27:33 · 477 阅读 · 0 评论 -
linux时间函数分析
1、数据结构(1)、typedef long time_t;//其值表示为从UTC(coordinated universal time)时间1970年1月1日00时00分00秒(也称为Linux系统的Epoch时间)到当前时刻的秒数。由于time_t类型长度的限制,它所表示的时间不能晚于2038年1月19日03时14分07秒(UTC)。为了能够表示更久远的时间,可用64位或更长的整形数来保存原创 2015-06-24 09:53:37 · 363 阅读 · 0 评论 -
fedora打开VMware共享文件夹功能
1、vi /etc/rc.d/rc.local输入:#!/bin/bashvmhgfs-fuse -o allow_other .host:/$(vmware-hgfsclient) /mnt/hgfs保存2、chmod a+x /etc/rc.d/rc.local3、reboot原创 2017-03-07 19:32:55 · 1790 阅读 · 0 评论
分享