Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osy.pages.fel.cvut.cz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osy
osy.pages.fel.cvut.cz
Commits
379816a8
Commit
379816a8
authored
2 years ago
by
Michal Sojka
Browse files
Options
Downloads
Patches
Plain Diff
lab4: Upřesnění zadání
parent
499c9931
No related branches found
No related tags found
No related merge requests found
Pipeline
#55206
passed
2 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hugo/content/docs/cviceni/lab4/_index.md
+2
-2
2 additions, 2 deletions
hugo/content/docs/cviceni/lab4/_index.md
with
2 additions
and
2 deletions
hugo/content/docs/cviceni/lab4/_index.md
+
2
−
2
View file @
379816a8
...
...
@@ -54,8 +54,8 @@ Vytvořte v jazyce C, C++ nebo Rust program `forkpipe`, který:
-
Pokud libovolný z potomků skončil chybou (návratový kód
`!= 0`
), vypíše na
standardní výstup řádku “
`ERROR`
” a skončí s návratovým kódem
`1`
, v opačném
případě vypíše tamtéž řádku “
`OK`
” a skončí s kódem
`0`
.
-
Pokud libovolné systémové volání vrátí chybu,
okamžitě by měl skončit
s
návratovým kódem
`2`
.
-
Pokud libovolné systémové volání vrátí chybu,
aktuální proce
s
okamžitě skončí s
návratovým kódem
`2`
.
-
*GEN*
bude na standardní výstup vypisovat řádky obsahující dvě mezerou
oddělená náhodná čísla vygenerovaná funkcí
`rand()`
(např.
`printf(“%d %d\n”,
rand(), rand())`
).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment