09 2020 档案

该文被密码保护。
posted @ 2020-09-26 23:19 卷哭你 阅读(0) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-26 11:08 卷哭你 阅读(156) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-25 07:54 卷哭你 阅读(385) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-09-23 08:08 卷哭你 阅读(0) 评论(0) 推荐(0)
摘要:#include "main.h" #include <stdio.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <signal.h> #include <stri 阅读全文
posted @ 2020-09-22 10:41 卷哭你 阅读(283) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-22 08:04 卷哭你 阅读(139) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-22 07:39 卷哭你 阅读(343) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-21 21:00 卷哭你 阅读(371) 评论(0) 推荐(0)
摘要:https://visualgo.net/zh 阅读全文
posted @ 2020-09-21 20:54 卷哭你 阅读(293) 评论(0) 推荐(0)
摘要:#include "main.h" #include <stdio.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <signal.h> #include <stri 阅读全文
posted @ 2020-09-21 09:51 卷哭你 阅读(323) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-21 08:01 卷哭你 阅读(370) 评论(0) 推荐(0)
摘要:(1)尾巴递归,什么时候递归结束.实现想要的递归终止条件. (2)如何递归和返回想要的值 相加还是相减 return xx*xx; (3)递归函数的编写和递归调用和功能需求. #include <stdio.h> #include <stdlib.h> #include <limits.h> #in 阅读全文
posted @ 2020-09-20 22:03 卷哭你 阅读(468) 评论(0) 推荐(0)
摘要:#include "main.h" #include <stdio.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <signal.h> #include <stri 阅读全文
posted @ 2020-09-19 14:38 卷哭你 阅读(576) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-19 08:49 卷哭你 阅读(1790) 评论(0) 推荐(0)
摘要:#include "main.h" #include <stdio.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <signal.h> #include <stri 阅读全文
posted @ 2020-09-18 10:24 卷哭你 阅读(563) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-18 08:04 卷哭你 阅读(409) 评论(0) 推荐(0)
摘要:#include "main.h" #include <stdio.h> #include <signal.h> //void (*signal(int sig, void (*func)(int)))(int) static void signal_handler(int signo) { pri 阅读全文
posted @ 2020-09-17 20:26 卷哭你 阅读(332) 评论(0) 推荐(0)
摘要:(1) 行高 列宽 (2)字体 宋体 xxx 阅读全文
posted @ 2020-09-17 11:27 卷哭你 阅读(122) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-16 23:34 卷哭你 阅读(336) 评论(0) 推荐(0)
摘要:#include "main.h" static int check_param(void) { int ret = -1; do { if(1) { break; } ret = 0; }while(0); return ret; } int main() { printf("param is % 阅读全文
posted @ 2020-09-15 21:39 卷哭你 阅读(281) 评论(0) 推荐(0)
摘要:#ifdef UAC_INIT #endif #if defined(__UAC_INIT) || defined(__UVC_INIT) #endif #define ARRAY_SIZE(a) ((sizeof(a) / sizeof(a[0]))) do { }while(0); #inclu 阅读全文
posted @ 2020-09-15 20:16 卷哭你 阅读(155) 评论(0) 推荐(0)
摘要:ALSA Soc Layer ALSA 芯片系统(ASOC)层总体工程目标是对芯片处理器嵌入式系统提供更好ALSA支持(e.g. Pxa2xx,au1x00,iMX,etc)和方便的音频codecs.当前内核有一些soc audio 支持,不过有一些限制: (1)当前,codec驱动总是紧密和SOC 阅读全文
posted @ 2020-09-14 20:06 卷哭你 阅读(350) 评论(0) 推荐(0)
摘要:// struct snd_card *card; struct snd_pcm *pcm; err = snd_card_new(&g_audio->gadget->dev, -1, NULL, THIS_MODULE, 0, &card); err = snd_pcm_new(uac->card 阅读全文
posted @ 2020-09-14 10:30 卷哭你 阅读(460) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-14 01:06 卷哭你 阅读(148) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include <signal.h> #include 阅读全文
posted @ 2020-09-13 20:03 卷哭你 阅读(375) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-13 19:39 卷哭你 阅读(488) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include <signal.h> #include 阅读全文
posted @ 2020-09-13 11:48 卷哭你 阅读(767) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include <signal.h> #include 阅读全文
posted @ 2020-09-13 11:24 卷哭你 阅读(332) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include <signal.h> #include 阅读全文
posted @ 2020-09-13 11:04 卷哭你 阅读(343) 评论(0) 推荐(0)
摘要:(1)字符串必须要有'\0',有了这个后面strlen strcmp strsr strchr putc 这些字符串函数才能使用, 他们的源码实现就是依赖'\0' (2) 传参要注意 char xxx[] 还是 "xxx" 根据函数原型 不然出现默名问题 (3) 用于存放字符的数组称为字符数组。在 阅读全文
posted @ 2020-09-13 08:04 卷哭你 阅读(505) 评论(0) 推荐(0)
摘要:char fn[256]; int rc; pcm = calloc(1, sizeof(struct pcm)); if (!pcm || !config) return &bad_pcm; /* TODO: could support default config here */ pcm->co 阅读全文
posted @ 2020-09-13 05:37 卷哭你 阅读(430) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-09-12 22:16 卷哭你 阅读(0) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include <signal.h> #include 阅读全文
posted @ 2020-09-12 22:04 卷哭你 阅读(213) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-09-12 13:07 卷哭你 阅读(0) 评论(0) 推荐(0)
摘要:成为链表上面一个节点 阅读全文
posted @ 2020-09-12 08:27 卷哭你 阅读(165) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include <signal.h> #include 阅读全文
posted @ 2020-09-12 08:16 卷哭你 阅读(386) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-09-12 00:08 卷哭你 阅读(1) 评论(0) 推荐(0)
摘要:static struct usb_function_instance *try_get_usb_function_instance(const char *name) { struct usb_function_driver *fd; struct usb_function_instance *f 阅读全文
posted @ 2020-09-11 23:38 卷哭你 阅读(1033) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "task.h" // static int I2S_Init_flag = 0; int main(int argc,char**argv) { int ch = 阅读全文
posted @ 2020-09-10 19:40 卷哭你 阅读(181) 评论(0) 推荐(0)
摘要:处理:第二个参数有些东西: :后面须接参数 -bxx和:: 后面可不接参数,后面多个选项,-mnzxc argv[optind]:可以得到后面 -axx -bxx 后面这个-bxx的值,不过是string类型的.optarg:得到是-a后面的值. #include <stdio.h> #includ 阅读全文
posted @ 2020-09-10 15:04 卷哭你 阅读(679) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include <signal.h> static in 阅读全文
posted @ 2020-09-09 23:48 卷哭你 阅读(399) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-09-08 19:31 卷哭你 阅读(11) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> static int pthread_run = 1; static void print(cha 阅读全文
posted @ 2020-09-07 08:43 卷哭你 阅读(337) 评论(0) 推荐(0)
摘要:同步模型: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> #include <semaphore.h> //#define EXIT_SUCCESS 0 //#define EXIT_FAI 阅读全文
posted @ 2020-09-06 23:10 卷哭你 阅读(174) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-05 09:36 卷哭你 阅读(176) 评论(0) 推荐(0)
摘要:tar xzvf xxx.tar.gz tar xf xxx.rar 将xz文件解压为tar文件 xz -d xxx.tar.xz tar czvf xxx.tar.gz xxx xxx xx xx xx (c为create意思) 解决flash资源不够用 阅读全文
posted @ 2020-09-04 14:37 卷哭你 阅读(137) 评论(0) 推荐(0)
摘要:#include "common.h" /** 这种情况一般用于某个多线程调用的模块使用前的初始化,但是无法判定哪个线程先运行,从而不知道把初始化代码放在哪个线程合适的问题。 当然,我们一般的做法是把初始化函数放在main里,创建线程之前来完成,但是如果我们的程序最终不是做成可执行程序,而是编译成库 阅读全文
posted @ 2020-09-03 11:07 卷哭你 阅读(175) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-02 10:25 卷哭你 阅读(117) 评论(0) 推荐(0)