libc.obj: add authorship && other

This commit is contained in:
2026-03-05 23:59:13 +05:00
parent 81ea535fed
commit 170fa3e1b0
5 changed files with 25 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;
for (size_t i = 0; i < size; ++i) {
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]);
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>
*/
#ifndef _LIBC_STDLIB__MEM_
#define _LIBC_STDLIB__MEM_

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 <stdbool.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 <stdlib.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 <string.h>
#include <sys/ksys.h>