Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nocache
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Danil Mikhailov
nocache
Commits
0a214bdb
Commit
0a214bdb
authored
May 06, 2013
by
Reda NOUSHI
Committed by
Julius Plenz
May 06, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support for kfreebsd and old FreeBSD systems.
parent
5d0e34e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
cachedel.c
cachedel.c
+8
-0
No files found.
cachedel.c
View file @
0a214bdb
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#if __POSIX_VISIBLE < 200112
#define POSIX_FADV_NORMAL 0
/* no special treatment */
#define POSIX_FADV_RANDOM 1
/* expect random page references */
#define POSIX_FADV_SEQUENTIAL 2
/* expect sequential page references */
#define POSIX_FADV_WILLNEED 3
/* will need these pages */
#define POSIX_FADV_DONTNEED 4
/* dont need these pages */
#define POSIX_FADV_NOREUSE 5
/* access data only once */
#endif
#include <error.h>
#include <stdio.h>
#include <stdlib.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment