#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <semaphore.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <stdbool.h>
#include <stdarg.h>
#include <dlfcn.h>
#include "kernel_engine.h"
#include "../src/ename.c.inc"
Go to the source code of this file.
◆ CREATE_SMART_PTR
#define CREATE_SMART_PTR |
( |
| type, |
|
|
| ... ) |
Value:
SmartPtr create_smart_ptr(size_t size,...)
스마트 포인터를 생성하는 함수 (가변 인자 사용)
Definition at line 30 of file kernel_smartptr.h.
◆ KERNEL_SMARTPTR_H
#define KERNEL_SMARTPTR_H |
◆ MAX_STRING_SIZE
#define MAX_STRING_SIZE 100 |
◆ NUM_THREADS
◆ NetworkInfo
typedef struct NetworkInfo NetworkInfo |
◆ SmartPtr
typedef struct SmartPtr SmartPtr |
◆ create_smart_ptr()
SmartPtr create_smart_ptr |
( |
size_t | size, |
|
|
| ... ) |
스마트 포인터를 생성하는 함수 (가변 인자 사용)
- Parameters
-
size | 할당할 메모리 크기 |
... | 가변 인자 리스트 (초기값) |
- Returns
- SmartPtr 스마트 포인터 구조체
Definition at line 94 of file kernel_smartptr.h.
◆ get_local_network_info()