#include "lib/fastbuf.h"
#include "lib/threads.h"
+#include <stdio.h>
#include <unistd.h>
#include <sys/fcntl.h>
-static byte *temp_prefix = "/tmp/temp";
+static char *temp_prefix = "/tmp/temp";
static struct cf_section temp_config = {
CF_ITEMS {
}
void
-temp_file_name(byte *buf)
+temp_file_name(char *buf)
{
struct ucwlib_context *ctx = ucwlib_thread_context();
int cnt = ++ctx->temp_counter;
struct fastbuf *
bopen_tmp(uns buflen)
{
- byte buf[TEMP_FILE_NAME_LEN];
+ char buf[TEMP_FILE_NAME_LEN];
struct fastbuf *f;
temp_file_name(buf);