Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
open-source-case-studies
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
open-source-case-studies
Merge requests
!6
Couldn't fetch the linked file.
Feature/new cgc
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Feature/new cgc
feature/new-cgc
into
master
Overview
3
Commits
22
Pipelines
0
Changes
2
Open
Dario Pinto
requested to merge
feature/new-cgc
into
master
4 years ago
Overview
3
Commits
22
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Viewing commit
70246958
Prev
Next
Show latest version
2 files
+
0
−
79
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
70246958
remove unused stubs
· 70246958
Andre Maroneze
authored
4 years ago
cgc-challenges/lib/fc_stubs.c deleted
100644 → 0
+
0
−
32
Options
#include
<stdlib.h>
int
cgc_receive_bytes_iPcz
(
char
*
buffer
,
size_t
count
)
{
size_t
total
;
size_t
rxbytes
;
total
=
0
;
while
(
total
<
count
)
{
rxbytes
=
0
;
if
(
cgc_receive
(
STDIN
,
buffer
+
total
,
count
-
total
,
&
rxbytes
)
==
0
)
{
if
(
rxbytes
==
0
)
return
(
0
);
else
total
+=
rxbytes
;
}
else
{
return
(
-
1
);
}
}
return
0
;
}
Loading