- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 C语言在函数中谨慎使用指针返回值
测试代码#include <stdio.h>typedef struct{ int num; char name[100];} book;char *test1(){ char hello[100]; strcpy(hello, "hello, I'am test 1\n"); printf("test1 hello addr: 0x%X\n", hello); return hello;}book test2(){
2021-06-26 15:33:11
349
2
原创 解决PXE 安装UOS系统黑屏问题
起因工厂需要生产国产Linux OS PC背景之前已经生产过龙芯平台的PC 并没有发现问题,原以为是BIOS问题,经过反复调试发现是dnsmasq问题现象PXE 引导黑屏,查看服务器后台日志发现:dnsmasq-tftp[4861]: error 8 User aborted the transfer received from 192.168.1.63dnsmasq-tftp[4861]: failed sending /pxe_file/tftp/debian-installer/amd6
2021-03-23 15:20:30
4635
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人