Skip to content

Commit 74eb6f4

Browse files
authored
Merge pull request #77 from amartini51/docs/develop
Fix broken links.
2 parents 5ba9e8f + 6db5a4a commit 74eb6f4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Sources/System/FileDescriptor.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extension FileDescriptor {
106106
/// the system doesn't wait for the device or file
107107
/// to be ready or available.
108108
/// If the
109-
/// <doc:System/FileDescriptor/open(_:_:options:permissions:)-10dcs>
109+
/// <doc:FileDescriptor/open(_:_:options:permissions:retryOnInterrupt:)-2266j>
110110
/// call would result in the process being blocked for some reason,
111111
/// that method returns immediately.
112112
/// This flag also has the effect of making all
@@ -164,14 +164,14 @@ extension FileDescriptor {
164164
/// expecting that it doesn't exist.
165165
///
166166
/// If this option and ``create`` are both specified and the file exists,
167-
/// <doc:System/FileDescriptor/open(_:_:options:permissions:)-10dcs>
167+
/// <doc:FileDescriptor/open(_:_:options:permissions:retryOnInterrupt:)-2266j>
168168
/// returns an error instead of creating the file.
169169
/// You can use this, for example,
170170
/// to implement a simple exclusive-access locking mechanism.
171171
///
172172
/// If this option and ``create`` are both specified
173173
/// and the last component of the file's path is a symbolic link,
174-
/// <doc:System/FileDescriptor/open(_:_:options:permissions:)-10dcs>
174+
/// <doc:FileDescriptor/open(_:_:options:permissions:retryOnInterrupt:)-2266j>
175175
/// fails even if the symbolic link points to a nonexistent name.
176176
///
177177
/// The corresponding C constant is `O_EXCL`.
@@ -223,7 +223,7 @@ extension FileDescriptor {
223223
///
224224
/// If you specify this option
225225
/// and the file path you pass to
226-
/// <doc:System/FileDescriptor/open(_:_:options:permissions:)-10dcs>
226+
/// <doc:FileDescriptor/open(_:_:options:permissions:retryOnInterrupt:)-2266j>
227227
/// is a symbolic link,
228228
/// then that open operation fails.
229229
///
@@ -238,7 +238,7 @@ extension FileDescriptor {
238238
/// Indicates that opening the file only succeeds if the file is a directory.
239239
///
240240
/// If you specify this option and the file path you pass to
241-
/// <doc:System/FileDescriptor/open(_:_:options:permissions:)-10dcs>
241+
/// <doc:FileDescriptor/open(_:_:options:permissions:retryOnInterrupt:)-2266j>
242242
/// is a not a directory, then that open operation fails.
243243
///
244244
/// The corresponding C constant is `O_DIRECTORY`.
@@ -256,7 +256,7 @@ extension FileDescriptor {
256256
///
257257
/// If you specify this option
258258
/// and the file path you pass to
259-
/// <doc:System/FileDescriptor/open(_:_:options:permissions:)-10dcs>
259+
/// <doc:FileDescriptor/open(_:_:options:permissions:retryOnInterrupt:)-2266j>
260260
/// is a symbolic link,
261261
/// then the link itself is opened instead of what it links to.
262262
///

Sources/System/FileOperations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ extension FileDescriptor {
185185
/// The <doc://com.apple.documentation/documentation/swift/unsafemutablerawbufferpointer/3019191-count> property of `buffer`
186186
/// determines the maximum number of bytes that are read into that buffer.
187187
///
188-
/// Unlike <doc:System/FileDescriptor/read(into:retryOnInterrupt:)>,
188+
/// Unlike <doc:FileDescriptor/read(into:retryOnInterrupt:)>,
189189
/// this method leaves the file's existing offset unchanged.
190190
///
191191
/// The corresponding C function is `pread`.

0 commit comments

Comments
 (0)