vault backup: 2026-01-23 17:06:40

This commit is contained in:
2026-01-23 17:06:40 +08:00
parent bb68a0323d
commit ee4cf63930
2 changed files with 32 additions and 31 deletions

View File

@@ -0,0 +1,15 @@
---
tags:
- C语言
- Linux
aliases:
- 小知识
日期: 2026/1/23
---
- 字符转数字要 `-'0'`
```c
char arr[10];
for(int i = 0;i < strlen(arr);i++)
num = num * 10 + arr[i] - '0';
```
- Linux重新加载配置文件