libc.obj: add authorship && other
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m17s
Build system / Build (pull_request) Successful in 11m7s

This commit is contained in:
2026-03-05 23:59:13 +05:00
parent fe9eb967c8
commit 21205640b1
4 changed files with 19 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ bool check_buffer(void* ptr, size_t size, unsigned char pattern)
unsigned char* byte_ptr = (unsigned char*)ptr; unsigned char* byte_ptr = (unsigned char*)ptr;
for (size_t i = 0; i < size; ++i) { for (size_t i = 0; i < size; ++i) {
if (byte_ptr[i] != pattern) { if (byte_ptr[i] != pattern) {
fprintf(stderr, "Error: Byte %zu does not match pattern. Expected %02X, got %02X\n", fprintf(stderr, "Error: Byte %u does not match pattern. Expected %02X, got %02X\n",
i, pattern, byte_ptr[i]); i, pattern, byte_ptr[i]);
return false; return false;
} }

View File

@@ -1,3 +1,9 @@
/*
* SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2026 KolibriOS team
* Author: Yarin Egor<y.yarin@inbox.ru>
*/
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#include <sys/ksys.h> #include <sys/ksys.h>

View File

@@ -1,3 +1,9 @@
/*
* SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2026 KolibriOS team
* Author: Yarin Egor<y.yarin@inbox.ru>
*/
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>

View File

@@ -1,3 +1,9 @@
/*
* SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2026 KolibriOS team
* Author: Yarin Egor<y.yarin@inbox.ru>
*/
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/ksys.h> #include <sys/ksys.h>