Skip to content

Commit d8260c9

Browse files
committed
Update UV.php
1 parent 81d95e7 commit d8260c9

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

Spawn/UV.php

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,46 @@ abstract class UV
179179
*/
180180
const S_IXOTH = 00001;
181181

182+
/**
183+
* bit mask type of file
184+
*/
185+
const S_IFMT = 0170000;
186+
187+
/**
188+
* block special file type
189+
*/
190+
const S_IFBLK = 0060000;
191+
192+
/**
193+
* character special file type
194+
*/
195+
const S_IFCHR = 0020000;
196+
197+
/**
198+
* FIFO special file type
199+
*/
200+
const S_IFIFO = 0010000;
201+
202+
/**
203+
* regular file type
204+
*/
205+
const S_IFREG = 0100000;
206+
207+
/**
208+
* directory file type
209+
*/
210+
const S_IFDIR = 0040000;
211+
212+
/**
213+
* symbolic link file type
214+
*/
215+
const S_IFLNK = 0120000;
216+
217+
/**
218+
* socket file type
219+
*/
220+
const S_IFSOCK = 0140000;
221+
182222
const AF_INET = 1;
183223
const AF_INET6 = 2;
184224
const AF_UNSPEC = 3;

0 commit comments

Comments
 (0)