feat: publish Android 1.0.1 candidate source and acceptance evidence

This commit is contained in:
UCVL Software Automation
2026-09-03 11:07:02 +08:00
commit 0a8bdc9fff
971 changed files with 184984 additions and 0 deletions
@@ -0,0 +1,38 @@
/*
============================================================================
Name : hev-task-io-pipe.c
Author : Heiher <r@hev.cc>
Copyright : Copyright (c) 2018 everyone.
Description : Task pipe I/O operations
============================================================================
*/
#include <unistd.h>
#include <sys/ioctl.h>
#include "lib/misc/hev-compiler.h"
#include "hev-task-io-pipe.h"
EXPORT_SYMBOL int
hev_task_io_pipe_pipe (int pipefd[2])
{
int nonblock = 1;
if (0 > pipe (pipefd))
return -1;
if (0 > ioctl (pipefd[0], FIONBIO, (char *)&nonblock)) {
close (pipefd[0]);
close (pipefd[1]);
return -2;
}
if (0 > ioctl (pipefd[1], FIONBIO, (char *)&nonblock)) {
close (pipefd[0]);
close (pipefd[1]);
return -3;
}
return 0;
}
@@ -0,0 +1,34 @@
/*
============================================================================
Name : hev-task-io-pipe.h
Author : Heiher <r@hev.cc>
Copyright : Copyright (c) 2018 everyone.
Description : Task pipe I/O operations
============================================================================
*/
#ifndef __HEV_TASK_IO_PIPE_H__
#define __HEV_TASK_IO_PIPE_H__
#ifdef __cplusplus
extern "C" {
#endif
/**
* hev_task_io_pipe_pipe:
* @pipefd: two file descriptors
*
* The pipe function creates a pipe, a unidirectional data channel that can be
* used for interprocess communication.
*
* Returns: the status of create.
*
* Since: 3.3.5
*/
int hev_task_io_pipe_pipe (int pipefd[2]);
#ifdef __cplusplus
}
#endif
#endif /* __HEV_TASK_IO_PIPE_H__ */