mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-15 20:25:04 +01:00
make errno a static instead of TLS
This commit is contained in:
parent
00f78e9749
commit
7a16d84b25
15 changed files with 57 additions and 55 deletions
|
|
@ -1,13 +1,13 @@
|
|||
#include<string.h>
|
||||
#include <string.h>
|
||||
|
||||
int main(void) {
|
||||
char buf[10];
|
||||
char buf[10];
|
||||
|
||||
memset(buf, 34, sizeof(buf));
|
||||
memset(buf, 34, sizeof(buf));
|
||||
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
if (buf[i] != 34) {
|
||||
return 1;
|
||||
}
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
if (buf[i] != 34) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue