libc.obj: add authorship && other
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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_
|
#ifndef _LIBC_STDLIB__MEM_
|
||||||
#define _LIBC_STDLIB__MEM_
|
#define _LIBC_STDLIB__MEM_
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user