Compare Revisions

JavaScript OS.Constants

Change Revisions

Revision 235032:

Revision 235032 by Yoric on

Revision 325655:

Revision 325655 by rnewman on

Title:
JavaScript OS.Constants
JavaScript OS.Constants
Slug:
JavaScript_OS.Constants
JavaScript_OS.Constants
Content:

Revision 235032
Revision 325655
nn65          </td>
66        </tr>
67        <tr>
68          <td>
69            <code>profileDir</code>
70          </td>
71          <td>
72            The path to the current profile.
nn308    <p>
309      <a name="libc_opening_files" id="libc_opening_files"></a>
310    </p>
n310            S_IRWXUn321            <a name="libc_opening_files" id="libc_opening_files">
 >S_IRWXU</a>
311          </td>
312          <td>322          </td>
313            Current User can Read, Write, eXecute the file. Equiv
>alent to <code>S_IRUSR | S_IWUSR | S_IXUSR</code>. 
314          </td>323          <td>
315        </tr>324            <a name="libc_opening_files" id="libc_opening_files">
 >Current User can Read, Write, eXecute the file. Equivalent to <co
 >de>S_IRUSR | S_IWUSR | S_IXUSR</code>.</a>
316        <tr>
317          <td>325          </td>
318            S_IRUSR326        </tr>
327        <tr>
319          </td>328          <td>
329            <a name="libc_opening_files" id="libc_opening_files">
 >S_IRUSR</a>
320          <td>330          </td>
321            Current User can Read the file.
322          </td>331          <td>
323        </tr>332            <a name="libc_opening_files" id="libc_opening_files">
 >Current User can Read the file.</a>
324        <tr>
325          <td>333          </td>
326            S_IWUSR334        </tr>
335        <tr>
327          </td>336          <td>
337            <a name="libc_opening_files" id="libc_opening_files">
 >S_IWUSR</a>
328          <td>338          </td>
329            Current User can Write (modify) the file.
330          </td>339          <td>
331        </tr>340            <a name="libc_opening_files" id="libc_opening_files">
 >Current User can Write (modify) the file.</a>
332        <tr>
333          <td>341          </td>
334            S_IXUSR342        </tr>
343        <tr>
335          </td>344          <td>
345            <a name="libc_opening_files" id="libc_opening_files">
 >S_IXUSR</a>
336          <td>346          </td>
337            Current User can eXecute the file.
338          </td>347          <td>
339        </tr>348            <a name="libc_opening_files" id="libc_opening_files">
 >Current User can eXecute the file.</a>
340        <tr>
341          <td>349          </td>
342            S_IRWXG350        </tr>
351        <tr>
343          </td>352          <td>
353            <a name="libc_opening_files" id="libc_opening_files">
 >S_IRWXG</a>
344          <td>354          </td>
345            Current GRouP of the current user can Read, Write, eX
>ecute the file. Equivalent to <code>S_IRGRP | S_IWGRP | S_IXGRP</ 
>code>. 
346          </td>355          <td>
347        </tr>356            <a name="libc_opening_files" id="libc_opening_files">
 >Current GRouP of the current user can Read, Write, eXecute the fi
 >le. Equivalent to <code>S_IRGRP | S_IWGRP | S_IXGRP</code>.</a>
348        <tr>
349          <td>357          </td>
350            S_IRGRP358        </tr>
359        <tr>
351          </td>360          <td>
361            <a name="libc_opening_files" id="libc_opening_files">
 >S_IRGRP</a>
352          <td>362          </td>
353            Current GRouP of the current user can Read the file.
354          </td>363          <td>
355        </tr>364            <a name="libc_opening_files" id="libc_opening_files">
 >Current GRouP of the current user can Read the file.</a>
356        <tr>
357          <td>365          </td>
358            S_IWGRP366        </tr>
367        <tr>
359          </td>368          <td>
369            <a name="libc_opening_files" id="libc_opening_files">
 >S_IWGRP</a>
360          <td>370          </td>
361            Current GRouP of the current user can Write (modify) 
>the file. 
362          </td>371          <td>
363        </tr>372            <a name="libc_opening_files" id="libc_opening_files">
 >Current GRouP of the current user can Write (modify) the file.</a
 >>
364        <tr>
365          <td>373          </td>
366            S_IXGRP374        </tr>
375        <tr>
367          </td>376          <td>
377            <a name="libc_opening_files" id="libc_opening_files">
 >S_IXGRP</a>
368          <td>378          </td>
369            Current GRouP of the current user can eXecute the fil
>e. 
370          </td>379          <td>
371        </tr>380            <a name="libc_opening_files" id="libc_opening_files">
 >Current GRouP of the current user can eXecute the file.</a>
372        <tr>
373          <td>381          </td>
374            S_IRWXO382        </tr>
383        <tr>
375          </td>384          <td>
385            <a name="libc_opening_files" id="libc_opening_files">
 >S_IRWXO</a>
376          <td>386          </td>
377            All Other users can Read, Write, eXecute the file. Eq
>uivalent to <code>S_IROTH | S_IWOTH | S_IXOTH</code>. 
378          </td>387          <td>
379        </tr>388            <a name="libc_opening_files" id="libc_opening_files">
 >All Other users can Read, Write, eXecute the file. Equivalent to 
 ><code>S_IROTH | S_IWOTH | S_IXOTH</code>.</a>
380        <tr>
381          <td>389          </td>
382            S_IROTH390        </tr>
391        <tr>
383          </td>392          <td>
393            <a name="libc_opening_files" id="libc_opening_files">
 >S_IROTH</a>
384          <td>394          </td>
385            All Other users can Read the file.
386          </td>395          <td>
387        </tr>396            <a name="libc_opening_files" id="libc_opening_files">
 >All Other users can Read the file.</a>
388        <tr>
389          <td>397          </td>
390            S_IWOTH398        </tr>
399        <tr>
391          </td>400          <td>
401            <a name="libc_opening_files" id="libc_opening_files">
 >S_IWOTH</a>
392          <td>402          </td>
393            All Other users can Write (modify) the file.
394          </td>403          <td>
395        </tr>404            <a name="libc_opening_files" id="libc_opening_files">
 >All Other users can Write (modify) the file.</a>
396        <tr>
397          <td>405          </td>
398            S_IXOTH406        </tr>
407        <tr>
399          </td>408          <td>
409            <a name="libc_opening_files" id="libc_opening_files">
 >S_IXOTH</a>
400          <td>410          </td>
401            All Other users can eXecute the file.411          <td>
412            <a name="libc_opening_files" id="libc_opening_files">
 >All Other users can eXecute the file.</a>
t413            O_APPENDt424            <a name="libc_opening_files" id="libc_opening_files">
 >O_APPEND</a>
414          </td>
415          <td>425          </td>
416            Open the file for appending.
417          </td>426          <td>
418        </tr>427            <a name="libc_opening_files" id="libc_opening_files">
 >Open the file for appending.</a>
419        <tr>
420          <td>428          </td>
421            O_CREAT429        </tr>
430        <tr>
422          </td>431          <td>
432            <a name="libc_opening_files" id="libc_opening_files">
 >O_CREAT</a>
423          <td>433          </td>
424            Create the file if it does not exist yet.
425          </td>434          <td>
426        </tr>435            <a name="libc_opening_files" id="libc_opening_files">
 >Create the file if it does not exist yet.</a>
427        <tr>
428          <td>436          </td>
429            O_DIRECTORY437        </tr>
438        <tr>
430          </td>439          <td>
440            <a name="libc_opening_files" id="libc_opening_files">
 >O_DIRECTORY</a>
431          <td>441          </td>
432            <span style="color:#d3d3d3;">(Linux only)</span> Succ
>eed only of the file is a directory. 
433          </td>442          <td>
434        </tr>443            <a name="libc_opening_files" id="libc_opening_files">
 ><span style="color:#d3d3d3;">(Linux only)</span> Succeed only of 
 >the file is a directory.</a>
435        <tr>
436          <td>444          </td>
437            O_EVTONLY445        </tr>
446        <tr>
438          </td>447          <td>
448            <a name="libc_opening_files" id="libc_opening_files">
 >O_EVTONLY</a>
439          <td>449          </td>
440            Descriptor requested for event notifications only.
441          </td>450          <td>
442        </tr>451            <a name="libc_opening_files" id="libc_opening_files">
 >Descriptor requested for event notifications only.</a>
443        <tr>
444          <td>452          </td>
445            O_EXCL453        </tr>
454        <tr>
446          </td>455          <td>
456            <a name="libc_opening_files" id="libc_opening_files">
 >O_EXCL</a>
447          <td>457          </td>
448            Raise an error if O_CREAT is set and the file exists.
449          </td>458          <td>
450        </tr>459            <a name="libc_opening_files" id="libc_opening_files">
 >Raise an error if O_CREAT is set and the file exists.</a>
451        <tr>
452          <td>460          </td>
453            O_EXLOCK461        </tr>
462        <tr>
454          </td>463          <td>
464            <a name="libc_opening_files" id="libc_opening_files">
 >O_EXLOCK</a>
455          <td>465          </td>
456            Atomically obtain an exclusive lock.
457          </td>466          <td>
458        </tr>467            <a name="libc_opening_files" id="libc_opening_files">
 >Atomically obtain an exclusive lock.</a>
459        <tr>
460          <td>468          </td>
461            O_LARGEFILE469        </tr>
470        <tr>
462          </td>471          <td>
472            <a name="libc_opening_files" id="libc_opening_files">
 >O_LARGEFILE</a>
463          <td>473          </td>
464            &nbsp;
465          </td>474          <td>
466        </tr>475            <a name="libc_opening_files" id="libc_opening_files">
 >&nbsp;</a>
467        <tr>
468          <td>476          </td>
469            O_NOFOLLOW477        </tr>
478        <tr>
470          </td>479          <td>
480            <a name="libc_opening_files" id="libc_opening_files">
 >O_NOFOLLOW</a>
471          <td>481          </td>
472            Do not follow symbolic links.
473          </td>482          <td>
474        </tr>483            <a name="libc_opening_files" id="libc_opening_files">
 >Do not follow symbolic links.</a>
475        <tr>
476          <td>484          </td>
477            O_NONBLOCK485        </tr>
486        <tr>
478          </td>487          <td>
488            <a name="libc_opening_files" id="libc_opening_files">
 >O_NONBLOCK</a>
479          <td>489          </td>
480            Do not block on open or for data to become available.
481          </td>490          <td>
482        </tr>491            <a name="libc_opening_files" id="libc_opening_files">
 >Do not block on open or for data to become available.</a>
483        <tr>
484          <td>492          </td>
485            O_RDONLY493        </tr>
494        <tr>
486          </td>495          <td>
496            <a name="libc_opening_files" id="libc_opening_files">
 >O_RDONLY</a>
487          <td>497          </td>
488            Open the file for read only.
489          </td>498          <td>
490        </tr>499            <a name="libc_opening_files" id="libc_opening_files">
 >Open the file for read only.</a>
491        <tr>
492          <td>500          </td>
493            O_RDWR501        </tr>
502        <tr>
494          </td>503          <td>
504            <a name="libc_opening_files" id="libc_opening_files">
 >O_RDWR</a>
495          <td>505          </td>
496            Open the file for read and write.
497          </td>506          <td>
498        </tr>507            <a name="libc_opening_files" id="libc_opening_files">
 >Open the file for read and write.</a>
499        <tr>
500          <td>508          </td>
501            O_RSYNC509        </tr>
510        <tr>
502          </td>511          <td>
512            <a name="libc_opening_files" id="libc_opening_files">
 >O_RSYNC</a>
503          <td>513          </td>
504            &nbsp;
505          </td>514          <td>
506        </tr>515            <a name="libc_opening_files" id="libc_opening_files">
 >&nbsp;</a>
507        <tr>
508          <td>516          </td>
509            O_SHLOCK517        </tr>
518        <tr>
510          </td>519          <td>
520            <a name="libc_opening_files" id="libc_opening_files">
 >O_SHLOCK</a>
511          <td>521          </td>
512            Atomically obtain a shared lock.
513          </td>522          <td>
514        </tr>523            <a name="libc_opening_files" id="libc_opening_files">
 >Atomically obtain a shared lock.</a>
515        <tr>
516          <td>524          </td>
517            O_SYMLINK525        </tr>
526        <tr>
518          </td>527          <td>
528            <a name="libc_opening_files" id="libc_opening_files">
 >O_SYMLINK</a>
519          <td>529          </td>
520            Allow opening of symbolic links.
521          </td>530          <td>
522        </tr>531            <a name="libc_opening_files" id="libc_opening_files">
 >Allow opening of symbolic links.</a>
523        <tr>
524          <td>532          </td>
525            O_SYNC533        </tr>
534        <tr>
526          </td>535          <td>
536            <a name="libc_opening_files" id="libc_opening_files">
 >O_SYNC</a>
527          <td>537          </td>
528            <span style="color:#d3d3d3;">(Linux only)</span> Open
> for purely synchronous access. 
529          </td>538          <td>
530        </tr>539            <a name="libc_opening_files" id="libc_opening_files">
 ><span style="color:#d3d3d3;">(Linux only)</span> Open for purely 
 >synchronous access.</a>
531        <tr>
532          <td>540          </td>
533            O_TRUNC541        </tr>
542        <tr>
534          </td>543          <td>
544            <a name="libc_opening_files" id="libc_opening_files">
 >O_TRUNC</a>
535          <td>545          </td>
536            Truncate the file.
537          </td>546          <td>
538        </tr>547            <a name="libc_opening_files" id="libc_opening_files">
 >Truncate the file.</a>
539        <tr>
540          <td>548          </td>
541            O_WRONLY549        </tr>
550        <tr>
542          </td>551          <td>
552            <a name="libc_opening_files" id="libc_opening_files">
 >O_WRONLY</a>
543          <td>553          </td>
544            Open the file for write only.554          <td>
555            <a name="libc_opening_files" id="libc_opening_files">
 >Open the file for write only.</a>

Back to History