fts(3) integration patches

This commit is contained in:
Nate Williams 1993-07-28 01:42:17 +00:00
parent 16b2e59175
commit f798d06073
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203

View File

@ -57,7 +57,9 @@
* for all data types (int, long, ...). The result is u_int and
* must be cast to any desired pointer type.
*/
#define ALIGN(p) (((u_int)(p) + (sizeof(int) - 1)) &~ (sizeof(int) - 1))
#define ALIGNBYTES (sizeof(int) - 1)
#define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
#define NBPG 4096 /* bytes/page */
#define PGOFSET (NBPG-1) /* byte offset into page */