/usr/include/safemult.h is in libowfat-dev 0.30-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /* this header file comes from libowfat, http://www.fefe.de/libowfat/ */
#ifndef _SAFEMULT_H
#define _SAFEMULT_H
#include "uint16.h"
#include "uint32.h"
#include "uint64.h"
#ifdef __cplusplus
extern "C" {
#endif
/* return 0 for overflow, 1 for ok */
int umult16(uint16 a,uint16 b,uint16* c);
int imult16( int16 a, int16 b, int16* c);
int umult32(uint32 a,uint32 b,uint32* c);
int imult32( int32 a, int32 b, int32* c);
int umult64(uint64 a,uint64 b,uint64* c);
int imult64( int64 a, int64 b, int64* c);
#ifdef __cplusplus
}
#endif
#endif
|