projects
/
platform
/
core
/
uifw
/
libds-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
keyrouter: Fix wrong return value
[platform/core/uifw/libds-tizen.git]
/
src
/
libds
/
util.h
1
#ifndef DS_UTIL_H
2
#define DS_UTIL_H
3
4
#include <stdint.h>
5
#include <time.h>
6
7
int64_t
8
timespec_to_msec(const struct timespec *a);
9
10
uint32_t
11
get_current_time_msec(void);
12
13
int
14
allocate_shm_file(size_t size);
15
16
bool
17
allocate_shm_file_pair(size_t size, int *rw_fd_ptr, int *ro_fd_ptr);
18
19
#endif