Skip to content

Commit

Permalink
Fix name of some syscalls in docs (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
aconz2 authored Sep 25, 2024
1 parent c884322 commit 92d4133
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/opcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ opcode! {
// === 5.15 ===

opcode! {
/// Make a directory, equivalent to `mkdirat2(2)`.
/// Make a directory, equivalent to `mkdirat(2)`.
pub struct MkDirAt {
dirfd: { impl sealed::UseFd },
pathname: { *const libc::c_char },
Expand All @@ -1377,7 +1377,7 @@ opcode! {
}

opcode! {
/// Create a symlink, equivalent to `symlinkat2(2)`.
/// Create a symlink, equivalent to `symlinkat(2)`.
pub struct SymlinkAt {
newdirfd: { impl sealed::UseFd },
target: { *const libc::c_char },
Expand All @@ -1400,7 +1400,7 @@ opcode! {
}

opcode! {
/// Create a hard link, equivalent to `linkat2(2)`.
/// Create a hard link, equivalent to `linkat(2)`.
pub struct LinkAt {
olddirfd: { impl sealed::UseFd },
oldpath: { *const libc::c_char },
Expand Down

0 comments on commit 92d4133

Please sign in to comment.