Defines | Functions

Compatability.h File Reference

A brief file description. More...

#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <stdio.h>
#include <strings.h>
#include "ink_defs.h"
Include dependency graph for Compatability.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _O_ATTRIB_NORMAL   0x0000
#define _O_ATTRIB_OVERLAPPED   0x0000
#define MAP_SHARED_MAP_NORESERVE   (MAP_SHARED | MAP_NORESERVE)
#define NEED_HRTIME

Functions

template<class T >
min (const T a, const T b)
template<class T >
max (const T a, const T b)

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file Compatability.h.


Define Documentation

#define _O_ATTRIB_NORMAL   0x0000
#define _O_ATTRIB_OVERLAPPED   0x0000

Definition at line 49 of file Compatability.h.

#define MAP_SHARED_MAP_NORESERVE   (MAP_SHARED | MAP_NORESERVE)

Definition at line 64 of file Compatability.h.

Referenced by MultiCacheBase::mmap_data().

#define NEED_HRTIME

Definition at line 71 of file Compatability.h.


Function Documentation

template<class T >
T max ( const T  a,
const T  b 
)
template<class T >
T min ( const T  a,
const T  b 
)