From 4421ee31c41fa24421d2bec71adcfd56040baae8 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Tue, 3 Jan 2023 10:56:48 +0100 Subject: [PATCH] Stuff to say for the next video. --- zig-impl/next-video.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 zig-impl/next-video.md diff --git a/zig-impl/next-video.md b/zig-impl/next-video.md new file mode 100644 index 0000000..b3d7ece --- /dev/null +++ b/zig-impl/next-video.md @@ -0,0 +1,14 @@ +# functions + + var received_fd = @as(i32, cmsg.dataPtr().*); + + std.mem.copy(u8, buffer, &msg_buffer); + + @ptrCast(*std.x.os.Socket.Message, &m) + + os.exit(0xff); + +# Functions done + + receive_fd + send_fd