miwaiwai

导航

08 2023 档案

修改文件日期,可以修改到很早的日期
摘要:#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <utime.h> #include 阅读全文

posted @ 2023-08-24 12:37 米歪歪 阅读(15) 评论(0) 推荐(0) 编辑

线程对信号的处理
摘要:1.线程对信号的处理: int pthread sigmask(int how, const sigset t "set, sigset t "oldset). 2.进程对出的时候可以用atexit函数安排进程退出时需要调用的函数 3.线程退出时也有清理现场程序 pthread_clearup_pu 阅读全文

posted @ 2023-08-20 08:58 米歪歪 阅读(15) 评论(0) 推荐(0) 编辑

高中英语学习0803   leave out遗漏 16.should竟然/应该 17.
摘要:1. get through 到达,度过 get around 到处走走 get along进展,和睦相处 get across通过 2. be worth of+宾语 3.非限定性定语从句,只能用which引导 4.provide sth for sb supply sb with sth pro 阅读全文

posted @ 2023-08-20 08:57 米歪歪 阅读(101) 评论(0) 推荐(0) 编辑

linux编程
摘要:1.读取文件流程: 1.打开文件 2.读/写文件 3.关闭文件 2.阻塞和非阻塞是文件的一种属性,只有设备文件和网络文件才有的特性 3.fcntl(fd1,F_DUPFD,0)//0被占用,fcntl使用文件描述符表中可用的最小文件描述符 4.fcntl(fd1,F_DUPFD,7)//7被占用,f 阅读全文

posted @ 2023-08-03 20:20 米歪歪 阅读(20) 评论(0) 推荐(0) 编辑

高中英语
摘要:1.it strikes sb that 某人突然想到 it occurs to sb that某人突然想到 it happens to sb 碰巧发生在某人身上 2.enjoy doing sth喜欢做某事/高兴做某事/享受做某事3.for a long time 长时间 4.lose weigh 阅读全文

posted @ 2023-08-01 09:48 米歪歪 阅读(215) 评论(0) 推荐(0) 编辑