Site Tools


zos:zos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
zos:zos [2024/02/19 12:49] – created - external edit 127.0.0.1zos:zos [2025/02/24 19:46] (current) – [Poznámky] 2001:718:2:1901:0:1:94bc:a64a
Line 1: Line 1:
  
 ====== Literatura ====== ====== Literatura ======
- 
-Skripta Vysoké školy báňské http://projekty.fs.vsb.cz/463/edubase/VY_01_043 soubor Operační systémy.pdf 
  
 Andrew S. Tanenbaum: Operating Systems Design and Implementation Andrew S. Tanenbaum: Operating Systems Design and Implementation
Line 18: Line 16:
 ====== Letošní příklady ====== ====== Letošní příklady ======
  
-Letošní příklady http://gitlab.fjfi.cvut.cz/culikzde/zos-2024+Letošní příklady http://gitlab.fjfi.cvut.cz/culikzde/zos-2025 
 + 
 +Loňské příklady http://gitlab.fjfi.cvut.cz/culikzde/zos-2024
  
 [[create_file_2021|File Handles]] [[create_file_2021|File Handles]]
Line 233: Line 233:
  
 XV6 https://pdos.csail.mit.edu/6.S081/2020/xv6/book-riscv-rev1.pdf XV6 https://pdos.csail.mit.edu/6.S081/2020/xv6/book-riscv-rev1.pdf
 +
 +<code C++>
 +
 +// #undef UNICODE
 +#include <Shlobj.h>  // need to include definitions of constants
 +
 +#include <iostream>
 +using namespace std;
 +
 +int main()
 +{
 +    WCHAR path [MAX_PATH];
 +    
 +    if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_PROFILE, NULL, 0, path)))
 +    {
 +        wcout << "Home direcory: " << path << endl;;
 +    }
 +
 +    if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_PERSONAL, NULL, 0, path)))
 +    {
 +        wcout << "Documents directory: " << path << endl;;
 +    }
 +}
 +
 +</code>
 +
zos/zos.1708346977.txt.gz · Last modified: 2024/02/19 12:49 by 127.0.0.1 · Currently locked by: 216.73.216.187