mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
9b18c6cb76
* Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396]. * Embedded compiler: development [#CLICKHOUSE-3396].
12 lines
142 B
C
12 lines
142 B
C
#include <errno.h>
|
|
#include "syscall.h"
|
|
|
|
long __syscall_ret(unsigned long r)
|
|
{
|
|
if (r > -4096UL) {
|
|
errno = -r;
|
|
return -1;
|
|
}
|
|
return r;
|
|
}
|