This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ngx_addon_name=ngx_http_myfilter_module | |
if test -n "$ngx_module_link"; then | |
ngx_module_type=HTTP_FILTER | |
ngx_module_name=ngx_http_myfilter_module | |
ngx_module_srcs="$ngx_addon_dir/ngx_http_myfilter_module.c" | |
. auto/module | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <string.h> | |
#define STORAGE_ID "/SHM_TEST" | |
#define STORAGE_SIZE sizeof(int) | |
int main(int argc, char *argv[]) |