Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
battle_c
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
Container registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BeomSooHeo
battle_c
Commits
69c5f21a
Commit
69c5f21a
authored
4 years ago
by
BeomSooHeo
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
c745562b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-0
19 additions, 0 deletions
README.md
with
19 additions
and
0 deletions
README.md
+
19
−
0
View file @
69c5f21a
...
...
@@ -10,6 +10,25 @@
use fprintf with stderr stdout stdin & Redirection
### stdout, stdin, stderr
<p>
프로그램 실행시 프로그램과 실행환경 사이의 상호작용을 하기 위해서는 데이터의 상호교환이 필요할 것이다.
이때 양자를 연결시켜주고 서로 데이터를 주고 받을 수 있기 위한 통로가 필요한데, 이것을 스트림이라한다.
유닉스에서 동작하는 프로그램은 실행과 동시에 세 개의 스트림이 자동으로 열리는데,
stdin, stdout, stderr 이들을 표준 스트림이라하며 별다른 Redirection이 없다면
<br><br>
stdin (standard input stream) -> 키보드로 입력을 받는다.
<br><br>
stdout (standard output stream) -> 모니터로 출력한다.
<br><br>
stderr (standard error stream) -> 모니터로 출력한다.
<br><br>
### Redirection을 통한 파일 입출력
<p>
...
...
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