Scoop API

scoop:scoop.asyncio:0.1.0

platform/unix/temporary.scoop

Selected production source · platform/unix/temporary.scoop

1package scoop.asyncio
3import scoop.platform.fs.Path
5@Unsafe
6internal fun startTemporaryFile(loop: Ptr<Unit>, id: Long, base: Path, pattern: Path): Int {
7 return pattern.withIoPath {
8 name -> @Unsafe
9 {
10 return@withIoPath nativeTemporaryFile(loop, id, name)
11 }
12 }
15@Extern(name = "scoop_io_file_temporary")
16private fun nativeTemporaryFile(loop: Ptr<Unit>, id: Long, pattern: Ptr<Byte>): Int