Parent Directory
|
Revision Log
|
Patch
| Revision 1.14 by sysadm, Mon Jun 16 01:36:56 2025 UTC | Revision 1.16 by sysadm, Wed Jul 2 03:08:10 2025 UTC | |
|---|---|---|
| # | Line 15 | Line 15 |
| 15 | ***************************************************************************/ | ***************************************************************************/ |
| 16 | ||
| 17 | #include "file_loader.h" | #include "file_loader.h" |
| #include "trie_dict.h" | ||
| #include "str_process.h" | ||
| 18 | #include "log.h" | #include "log.h" |
| 19 | #include <fcntl.h> | #include "str_process.h" |
| 20 | #include "trie_dict.h" | |
| 21 | #include <errno.h> | #include <errno.h> |
| 22 | #include <unistd.h> | #include <fcntl.h> |
| 23 | #include <stdlib.h> | #include <stdlib.h> |
| 24 | #include <string.h> | #include <string.h> |
| 25 | #include <time.h> | #include <time.h> |
| 26 | #include <unistd.h> | |
| 27 | #include <sys/ipc.h> | |
| 28 | #include <sys/mman.h> | #include <sys/mman.h> |
| #include <sys/stat.h> | ||
| 29 | #include <sys/shm.h> | #include <sys/shm.h> |
| 30 | #include <sys/ipc.h> | #include <sys/stat.h> |
| 31 | ||
| 32 | struct shm_header_t | struct shm_header_t |
| 33 | { | { |
| # | Line 121 int load_file(const char *filename) | Line 121 int load_file(const char *filename) |
| 121 | return -1; | return -1; |
| 122 | } | } |
| 123 | ||
| 124 | line_total = split_data_lines(p_data, SCREEN_COLS, line_offsets, MAX_SPLIT_FILE_LINES, 1); | line_total = split_data_lines(p_data, SCREEN_COLS, line_offsets, MAX_SPLIT_FILE_LINES, 1, NULL); |
| 125 | ||
| 126 | // Allocate shared memory | // Allocate shared memory |
| 127 | proj_id = (int)(time(NULL) % getpid()); | proj_id = (int)(time(NULL) % getpid()); |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |