~ubuntu-branches/ubuntu/utopic/codespell/utopic

« back to all changes in this revision

Viewing changes to example/code.c

  • Committer: Package Import Robot
  • Author(s): Paul Wise
  • Date: 2013-12-26 10:01:59 UTC
  • Revision ID: package-import@ubuntu.com-20131226100159-ktxcldbv7zozwaqy
Tags: upstream-1.6
ImportĀ upstreamĀ versionĀ 1.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
int f(int type)
 
3
{
 
4
    return type;
 
5
}
 
6
 
 
7
int main(void)
 
8
{
 
9
    int fd, clas;
 
10
    /* tis code does nothing */
 
11
 
 
12
    f(1, 2, 3);
 
13
 
 
14
    fd = opem("/tmp/a", O_RDONLY);
 
15
 
 
16
    // buring your cpu
 
17
    return f(clas);
 
18
}